Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 chilling in the Monastery: (18)
As of 2014-08-22 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (158 votes), past polls