Just another Perl shrine | |
PerlMonks |
Re: Need help with arrays and CSVsby ww (Archbishop) |
on Dec 26, 2007 at 20:35 UTC ( [id://659113]=note: print w/replies, xml ) | Need Help?? |
OP's code, for ease of reading, with a note re the missing "my" and strict and warnings added:
when run against a csv: this is a field to start with,field2,field3 this produces what I would expect, namely:this is a field to start with.field2field3 On the supposition that "I want to print each line of the array" means you want each field in the csv printed on a separate line replaceprint @printerstat; with:
In Section
Seekers of Perl Wisdom
|
|