Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: AIM-Bot help again, please!

by Sleepaholic88 (Novice)
on Mar 22, 2003 at 05:35 UTC ( [id://245101]=note: print w/replies, xml ) Need Help??


in reply to Re: AIM-Bot help again, please!
in thread AIM-Bot help again, please!

It says that $zipcode requires explicit package name. Not exactly sure what that means.... And I would learn some XML, but homework, mostly, keeps me from that =(

Replies are listed 'Best First'.
Re: Re: Re: AIM-Bot help again, please!
by cfreak (Chaplain) on Mar 22, 2003 at 22:32 UTC

    That error means that you are using strict (which is good) and you didn't declare $zipcode with my. If $zipcode is a global variable then put my $zipcode; at the top of your program somewhere. If its in a sub then put my $zipcode; in the sub somewhere before you use it or when you assign it (my $zipcode = ....)

    Hope that helps
    Chris

    Lobster Aliens Are attacking the world!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found