Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 contemplating the Monastery: (10)
As of 2014-09-17 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (61 votes), past polls