in reply to (duplicate) Problem pushing into @INC
BEGIN { push( @INC, $ENV{HOME} . "/prod_support/scripts" ); }
Or another (more modern) way:
use lib "$ENV{HOME}/prod_support/scripts";
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problem pushing into @INC
by chip (Curate) on Jul 08, 2003 at 19:32 UTC | |
by derby (Abbot) on Jul 08, 2003 at 19:46 UTC |