Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Cancel/no-op a require

by sedusedan (Monk)
on Dec 07, 2012 at 13:36 UTC ( #1007736=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    unshift @INC, sub {
        my ($self, $name) = @_;
    ...
    
        # instruct Perl to not load the module again
    };
    
  2. or download this
    unshift @INC, sub {
        my ($self, $name) = @_;
    ...
    
        return ();
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007736]
help
Chatterbox?
[Lady_Aleena]: I've used Lingua::EN:: Inflect a lot.
[marioroy]: Thanks Lady_Aleena. I learned another thing today.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2017-05-24 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?