Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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!

  • Comment on Re: Re: Use of uninitialized value in pattern match (m//)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://327805]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-18 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found