Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Undefined value as a symbol reference

by peschkaj (Pilgrim)
on Mar 11, 2003 at 13:58 UTC ( [id://242025]=note: print w/replies, xml ) Need Help??


in reply to Undefined value as a symbol reference

I think you've both hit the nail on the head.

Although writeClient is being called from within the while loop, where $client is a valid variable, $client isn't in scope in writeClient. I failed to realize that I needed to to pass the handle into the subroutine.

Once I did that everything worked like a charm. Thank you both



If you make something idiot-proof, eventually someone will make a better idiot.
I am that better idiot.
  • Comment on Re: Undefined value as a symbol reference

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-24 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found