There's more than one way to do things | |
PerlMonks |
Re: Re: Use of uninitialized value in pattern match (m//)by mildside (Friar) |
on Feb 10, 2004 at 03:25 UTC ( [id://327805]=note: print w/replies, xml ) | Need Help?? |
Did you give $tmp2 a value? If so, how did $tmp2 get defined?Exactly. I often find that this happens to me if the variable was assigned as the result of a split. If there werent enough things to split, you get some undefined values. (Hope that makes sense - I'm tired). Cheers!
In Section
Seekers of Perl Wisdom
|
|