Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: "main::Objects" used only once: possible typo

by hilitai (Monk)
on Apr 28, 2009 at 14:36 UTC ( [id://760626]=note: print w/replies, xml ) Need Help??


in reply to "main::Objects" used only once: possible typo

It's not an error, it's a warning. You're getting it because you're using 'use warnings;'. The compiler noticed that there is only one use of $main::Objects in your script -- you create it, but never use it for anything -- and emitted the warning because normally when an object is created, it is eventually used in some way.

If you use $main::Objects, the warning will go away.

  • Comment on Re: "main::Objects" used only once: possible typo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found