Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: a few questions about __PACKAGE__

by JavaFan (Canon)
on Feb 12, 2012 at 10:54 UTC ( [id://953308]=note: print w/replies, xml ) Need Help??


in reply to a few questions about __PACKAGE__

I'm assuming that __PACKAGE__ is not defined until a script loads the module,
That's not your problem. The problem is that $INC{"Module.pm"} only gets set after successful complication, and you haven't finished compiling yet.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found