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 reply to Re: Re: Use of uninitialized value in pattern match (m//)
by mildside
in thread Use of uninitialized value in pattern match (m//)
by wolis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |