more useful options | |
PerlMonks |
Re: if (defined @arr) problemby secret (Beadle) |
on Dec 15, 2005 at 10:07 UTC ( [id://516905]=note: print w/replies, xml ) | Need Help?? |
That's because the array contains one value : 'undef' . Look at what happens if you do : You can also print scalar @a to see the what's the length of the array .
In Section
Seekers of Perl Wisdom
|
|