Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Undefined Subroutine & Global symbol requires explicit package name

by Corion (Patriarch)
on Jan 24, 2012 at 15:29 UTC ( [id://949711]=note: print w/replies, xml ) Need Help??


in reply to Undefined Subroutine & Global symbol requires explicit package name

Where did you find inet_aton documented? Consider taking a look at Socket and use.

The code you showed is not the code you run. Please post the complete code that corresponds to your error message. The snippet you show does not tell us anything about your code.

strict.pm is there to force you to predeclare all variables you use. This helps preventing typos in variable names. If you have use strict; in your program, you will need to predeclare all variable names you use. You don't do that, at least if we are to believe the error message you get. Maybe you want to predeclare the variables?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found