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

Re: use module if condition is met

by ysth (Canon)
on Jan 23, 2004 at 17:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://323624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found