in reply to Re: Use of uninitialized value in pattern match (m//)
in thread Use of uninitialized value in pattern match (m//)
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!
|
|---|