![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: •Re: find real length of an arrayby hackmare (Pilgrim) |
on Mar 16, 2003 at 16:51 UTC ( #243493=note: print w/replies, xml ) | Need Help?? |
Thanks for the quick reply. In my real source code in the offending application, the offending array is constructed from a split of a tab-delimited line. I am using split("\t",$line,99999) to generate the line. Hmmm... When I run the test below on the command line, it seems to behave correctly I have a feeling that I need to take a close look at the offending code. All the splits which I am using to generate the array are providing the field number option, which inserts undefs into the placeholders. Well, at least the answers I got here helped me cross out some of the possible sources of error. Thanks for the help.
Ronan
In Section
Seekers of Perl Wisdom
|
|