Michael Vincent
and 1 contributors

NAME

TextCSV - Read file with Text::CSV

SYNOPSIS

 use App::PerlShell::AddOn::TextCSV;

DESCRIPTION

This module implements table creation with Text::CSV.

COMMANDS

TextCSV - provide help

Provides help.

METHODS

textcsv - read CSV file

 [@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.

EXAMPLES

  use App::PerlShell::AddOn::TextCSV;
  @csv = textcsv 'file.csv', {binary => 1};
  print Dumper \@csv;
  
  print $csv[0]->[1]; # print value at first column, second row

SEE ALSO

Text::CSV

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (c) 2017 Michael Vincent

http://www.VinsWorld.com

All rights reserved