in reply to Re: Adding a directory to $ENV{PATH}
in thread Adding a directory to $ENV{PATH}

would adding the PATH modification in a BEGIN block fix that issue?
  • Comment on RE: Re: Adding a directory to $ENV{PATH}

Replies are listed 'Best First'.
RE: RE: Re: Adding a directory to $ENV{PATH}
by dws (Chancellor) on Nov 03, 2000 at 05:21 UTC
    No, because it merely side-effects the address space of the current Perl process. You need to get the new path into into kernel memory before it will be honored by exec().
      yep. i decided to try and test it, just to satisfy my own curiousity.

      and i got 'no <foo-command> found in . . . .'