Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Text::CSV_XS function does not accept headers and key together

by Lady_Aleena (Curate)
on Jun 07, 2017 at 09:03 UTC ( #1192252=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    Crystal Skull|Stargate SG-1, Crystal Skull;The Librarian: Return to Ki
    +ng Soloman's Mines;Indiana Jones and the Kingdom of the Crystal Skull
    Spear of Destiny|The Librarian: Quest for the Spear;Hellboy;Constantin
    Book or Key of Soloman|The Librarian: Return to King Soloman's Mines;S
    +eason of the Witch
    Necronomicon|H.P. Lovecraft
  2. or download this
    use strict;
    use Data::Dumper;
    print Dumper $list;
  3. or download this
    Use of uninitialized value in anonymous hash ({}) at /home/me/perl5/li
    +b/perl5/x86_64-linux-gnu-thread-multi/Text/ line 1223, <$fh>
    + line 4.
    Use of uninitialized value in anonymous hash ({}) at /home/me/perl5/li
    +b/perl5/x86_64-linux-gnu-thread-multi/Text/ line 1223, <$fh>
    + line 4.
                      'item' => 'Necronomicon'
  4. or download this
    $csv = Text::CSV_XS->new ({
      sep_char              => '|',
      empty_is_undef        => 1,
      allow_whitespace      => 1,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1192252]
Approved by Discipulus
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2019-10-14 15:28 GMT
Find Nodes?
    Voting Booth?