Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2016-02-13 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (437 votes), past polls