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

Re: Problems importing constants in multiple namespaces

by Joost (Canon)
on Aug 19, 2004 at 20:43 UTC ( [id://384446]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Module::Monkey;
    use base 'Module';
    BEGIN {
      Module->import();
    }
    
  2. or download this
    # in Module/Loader.pm
    package Module::Loader;
    ...
    package Module::Ape;
    use Module::Constants;
    use base Module;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found