Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: regex neededby MrYoya (Monk) |
on Mar 14, 2003 at 19:52 UTC ( [id://243161]=note: print w/replies, xml ) | Need Help?? |
I believe that the
is not working because it first evaluates the print (split /:/), which returns a scalar value, in this case "1" for a successful print. So it's trying to get a list element of a scalar, which does not work. Same as trying 1[0]; .
In Section
Seekers of Perl Wisdom
|
|