Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Using perl module if env is enabled

by davido (Cardinal)
on Dec 09, 2019 at 16:42 UTC ( #11109884=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if(exists $INC{'Example/Module.pm'}) {...}
    
  2. or download this
    if (__PACKAGE__->can('example')) {...}
    
  3. or download this
    package SomeThing;
    
    ...
    use SomeThing;
    
    foo();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-04-12 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?