TextCSV - Read file with Text::CSV
use App::PerlShell::Plugin::TextCSV;
This module implements easy reading of comma separated value files with Text::CSV.
Provides help.
[@csv =] textcsv file [Text::CSV OPTIONS];
Given file, read in as CSV and return fields to screen or in optional array. File must be first argument, see Text::CSV for additional options and syntax.
use App::PerlShell::Plugin::TextCSV; @csv = textcsv 'file.csv', {binary => 1}; print Dumper \@csv; print $csv[0]->[1]; # print value at first column, second row
Text::CSV
This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.
Copyright (c) 2017 Michael Vincent
http://www.VinsWorld.com
All rights reserved
To install App::PerlShell, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PerlShell
CPAN shell
perl -MCPAN -e shell install App::PerlShell
For more information on module installation, please visit the detailed CPAN module installation guide.