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

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().
  • Comment on RE: RE: Re: Adding a directory to $ENV{PATH}

Replies are listed 'Best First'.
RE: RE: RE: Re: Adding a directory to $ENV{PATH}
by geektron (Curate) on Nov 03, 2000 at 05:30 UTC
    yep. i decided to try and test it, just to satisfy my own curiousity.

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