in reply to Re: How to execute/call perl module on different path ?
in thread How to execute/call perl module on different path ?
Or, alternatively:
#!/usr/bin/perl BEGIN { push( @INC, "/data/script" ); }
Either one works, but the first is probably preferred.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to execute/call perl module on different path ?
by afoken (Chancellor) on Jun 06, 2012 at 18:29 UTC | |
by thomas895 (Deacon) on Jun 06, 2012 at 22:04 UTC |