Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Conditional 'use lib'

by Abigail-II (Bishop)
on Feb 26, 2003 at 08:00 UTC ( #238697=note: print w/ replies, xml ) Need Help??


in reply to Conditional 'use lib'

This should work, but I've no experience myself with the if module.

use if hostname eq 'foo1.bar.org', lib => '/alternate/libdir'; use if hostname ne 'foo1.bar.org', lib => '/default/libdir';

Abigail


Comment on Re: Conditional 'use lib'
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2014-09-23 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (219 votes), past polls