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

Re: use module if condition is met

by ysth (Canon)
on Jan 23, 2004 at 17:34 UTC ( #323624=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use if $type eq 'x', "Some::Module";
    
  2. or download this
    $perl -we'eval "use Errno qw/EINVAL/"; print EINVAL'
    Name "main::EINVAL" used only once: possible typo at -e line 1.
    ...
    
    $perl -we'use Errno qw/EINVAL/; print EINVAL'
    22
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://323624]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-04-27 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (501 votes). Check out past polls.