Perlã§Excelã¨ãã§ä½ã£ãã»ã«å æ¹è¡(è¤æ°è¡ã«ãããã¬ã³ã¼ã)ã¤ãCSVãã¡ã¤ã«ãå¦çããæ¹æ³ã æå¤ã¨ç¥ããªã人ãããã®ã§ã Text::CSV_XS ã使ã£ã¦ã #!/usr/local/bin/perl use strict; use warnings; use IO::File; use Text::CSV_XS; my $fh = IO::File->new('test.csv') or die 'cannot open file'; my $csv = Text::CSV_XS->new({binary => 1}); until ($fh->eof) { my $columns = $csv->getline($fh); # $columns->[0] } $fh->close; syntax highlight by VimColor binary ãªãã·ã§ã³ãå¿ è¦ã
{{#tags}}- {{label}}
{{/tags}}