Perl Monk, Perl Meditation | |
PerlMonks |
Re: what is @$varname in perlby Myrddin Wyllt (Hermit) |
on Jul 03, 2014 at 14:37 UTC ( [id://1092181]=note: print w/replies, xml ) | Need Help?? |
Not directly related to the reference / dereference question, but if your csv files do have header rows, your check on $count won't skip them, as you increment before you test (so $count will always be true). If you need to skip the headers, make $count local to the file loop (rather than global), and increment after the test.
In Section
Seekers of Perl Wisdom
|
|