Text::CSV_XSText::CSV_XS is a Perl module that contains comma-separated values manipulation routines. | |
Download |
Text::CSV_XS Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Alan Citterman, Jochen Wiedmann and H.Merijn Brand
- Publisher web site:
- http://search.cpan.org/~hmbrand/Text-CSV_XS-0.32/CSV_XS.pm
Text::CSV_XS Tags
Text::CSV_XS Description
Text::CSV_XS is a Perl module that contains comma-separated values manipulation routines. Text::CSV_XS is a Perl module that contains comma-separated values manipulation routines.SYNOPSIS use Text::CSV_XS; $csv = Text::CSV_XS->new (); # create a new object $csv = Text::CSV_XS->new (%attr); # create a new object $status = $csv->combine (@columns); # combine columns into a string $line = $csv->string (); # get the combined string $status = $csv->parse ($line); # parse a CSV string into fields @columns = $csv->fields (); # get the parsed fields $status = $csv->status (); # get the most recent status $bad_argument = $csv->error_input (); # get the most recent bad argument $diag = $csv->error_diag (); # if an error occured, explains WHY $status = $csv->print ($io, $colref); # Write an array of fields # immediately to a file $io $colref = $csv->getline ($io); # Read a line from file $io, # parse it and return an array # ref of fields $eof = $csv->eof (); # Indicate if last parse or # getline () hit End Of File $csv->types (@t_array); # Set column typesText::CSV_XS provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV_XS class can combine fields into a CSV string and parse a CSV string into fields.The module accepts either strings or files as input and can utilize any user-specified characters as delimiters, separators, and escapes so it is perhaps better called ASV (anything separated values) rather than just CSV. Requirements: · Perl
Text::CSV_XS Related Software