This works fine. Careful readers will see that I don't exec env. It doesn't appear to be necessary.BEGIN { unless ($ENV{BEGIN_BLOCK}) { $ENV{ORACLE_HOME} = "/oracle/product/current"; $ENV{LD_LIBRARY_PATH} = "$ENV{ORACLE_HOME}/lib"; $ENV{BEGIN_BLOCK} = 1; exec $^X, $0, @ARGV; } }
In reply to Re: Re: exec problem
by virtualsue
in thread exec problem
by tejnil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |