Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: use Module (LIST) and 'import'

by rrwo (Friar)
on Dec 02, 2004 at 01:00 UTC ( [id://411629]=note: print w/replies, xml ) Need Help??


in reply to use Module (LIST) and 'import'

The use line is called during compilation, so $config is not yet set. Try the following:

BEGIN { $config = AppConfig->new(); } use Othermodule ( Config => $config );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2025-01-18 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (56 votes). Check out past polls.