in reply to what is @$varname in perl
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: what is @$varname in perl
by sandy105 (Scribe) on Jul 04, 2014 at 06:05 UTC |