µ¥ÀÌÅÍ :: Å×À̺í :: Excel.

µ¥ÀÌÅÍ :: Å×ÀÌºí °³Ã¼¿Í Excel (xls / xlsx) ÆÄÀÏ°£¿¡ º¯È¯
Áö±Ý ´Ù¿î·Îµå

µ¥ÀÌÅÍ :: Å×À̺í :: Excel. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Yingyao Zhou
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~ezdb/

µ¥ÀÌÅÍ :: Å×À̺í :: Excel. ű×


µ¥ÀÌÅÍ :: Å×À̺í :: Excel. ¼³¸í

data :: table :: ExcelÀº Excel ÆÄÀÏ°ú data :: Table °´Ã¼°£¿¡ º¯È¯ÇÏ´Â À¯Æ¿¸®Æ¼ ¸Þ¼Òµå¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ±×·± ´ÙÀ½ µ¥ÀÌÅÍ :: Å×ÀÌºí ¹æ¹ýÀ» È°¿ëÇÏ¿© µ¥ÀÌÅ͸¦ ´õ Á¶ÀÛÇϰųª CSV / TSV / HTML µîÀÇ ´Ù¸¥ Çü½ÄÀ¸·Î ³»º¸³¾ ¼ö ÀÖ½À´Ï´Ù. µ¥ÀÌÅÍ :: Table :: Excel; # µÎ °³ÀÇ CSV Å×ÀÌºí¿¡¼­ ÀÐ°í µÎ °³ÀÇ ½ºÇÁ·¹µå ½ÃÆ®°¡ÀÖ´Â Excel .xls ¹ÙÀ̳ʸ® ÆÄÀÏÀ» »ý¼ºÇÏ°í $ T_Category = data :: table :: fromFile ( "category.csv"); ³» $ T_Product = µ¥ÀÌÅÍ :: Å×À̺í :: fromFile ( "product.csv"); # ÅëÇÕ ¹®¼­¿¡´Â Ä«Å×°í¸® ¹× Á¦Ç° # ¸Å°³ º¯¼ö : Ãâ·Â ÆÄÀÏ À̸§, ¾²±â ÇÒ Å×ÀÌºí ¹è¿­ ¹× ÇØ´ç À̸§ tables2xls ( "northwind.xls", , ); # Northwind.xls ÆÄÀÏ¿¡¼­ µÎ °³ÀÇ µ¥ÀÌÅÍ :: Å×ÀÌºí °³Ã¼ ³» ($ tableObjects, $ tableNames) = xls2tables ( "northwind.xls"); (³» $ i = 0, $ i], "*** \ n"; $ tablebjects -> -> csv;} Ãâ·Â : *** Ä«Å×°í¸® *** Ä«Å×°í¸®, Ä«Å×°í¸® À̸§, ¼³¸í 1, À½·á, "û·® À½·á, Ä¿ÇÇ, Â÷, ¸ÆÁÖ, ¾Ë·¹½º,"Á¶¹Ì·á, "´ÞÄÞÇÏ°í ©ÇÑ ¼Ò½º, ºÒÄè°¨, ½ºÇÁ·¹µå ¹× Á¶¹Ì·á"3, °úÀÚ, "µðÀúÆ®, »çÅÁ ¹× ´ÞÄÞÇÑ »§" . *** Á¦Ç° *** ProductID, ProductName, Ä«Å×°í¸®, UnitPrice, Unitsinstock, Áß´Ü 1, Chai, 1,18,39, °ÅÁþ 2, â, 1,19,17, °ÅÁþ 3, Æã¼Ç ½Ã·´, 2,10, 13, °ÅÁþ ... # Å×À̺í À̸§ÀÌ Á¦°øµÇÁö ¾ÊÀ¸¹Ç·Î # Tabe Not Sheet1 ¹× Sheet2¶ó´Â À̸§À¸·Î ÁöÁ¤µË´Ï´Ù. ¿©±â¿¡¼­ °¢ ½ÃÆ®¿¡ ¸ÂÃã »ö»óÀ» Á¦°øÇÕ´Ï´Ù. Tables2XLSX ( "Northwind.xlsx", , Undef, , ] ); # northwind.xlsx ÆÄÀÏ¿¡¼­ µÎ °³ÀÇ µ¥ÀÌÅÍ :: Å×ÀÌºí °³Ã¼ ³» ($ tablebjects, $ tablenames) = xlsx2tables ( "northwind.xlsx"); Á¦Ç°ÀÇ È¨ÆäÀÌÁö


µ¥ÀÌÅÍ :: Å×À̺í :: Excel. °ü·Ã ¼ÒÇÁÆ®¿þ¾î