laziness, impatience, and hubris | |
PerlMonks |
Re: no grep match returns undefined?by thelenm (Vicar) |
on Sep 05, 2002 at 16:16 UTC ( [id://195426]=note: print w/replies, xml ) | Need Help?? |
In list context, grep will return an empty list if no matching elements were found. What you're doing is trying to access the -- Mike --
In Section
Seekers of Perl Wisdom
|
|