Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 cooling their heels in the Monastery: (13)
As of 2014-07-14 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (261 votes), past polls