Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Printing the header row

by tobyink (Abbot)
on Sep 13, 2012 at 02:15 UTC ( #993347=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub arrayref_to_csvline { ... }
    
    ...
      }
      print arrayref_to_csvline($row->values);
    }
    
  2. or download this
    sub arrayref_to_csvline { ... }
    
    ...
      $headers ||= print arrayref_to_csvline($row->fields);
      print arrayref_to_csvline($row->values);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://993347]
Approved by kcott
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-07-28 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls