Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 avoiding work at the Monastery: (10)
As of 2014-12-25 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls