Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to print after using getline_hr (Text::CSV_XS)?

by Tux (Monsignor)
on Nov 09, 2011 at 11:46 UTC ( #937052=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    use warnings;
    ...
                
        $csv->print (*STDOUT, [ map { $hr->{$_} } @columns ]);
        }
    
  2. or download this
    my @fields = qw( ID NAME INDICATOR VALUE CI_LOW CI_HIGH );
    $csv->print (*STDOUT, \@fields);
    ...
                
        $csv->print (*STDOUT, [ @rec{@columns} ]);
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://937052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-09-03 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (111 votes), past polls