in reply to perl wrapped in batch

I run Perl programs from anywhere on the PATH, without using a batch file or anything like that.

I use the 4NT command-line shell, as an upgrade to the stupid COMMAND.COM/CMD.EXE that comes with Windows. But I understand that those can understand the file associations and run the correct application too, if you launch the command shell program itself with the /X option.

—John

Replies are listed 'Best First'.
Re: Re: perl wrapped in batch
by Anonymous Monk on Nov 18, 2002 at 18:43 UTC
    thanks to all who replied. with all your suggestions, I came up with this:
    use lib split(';',$ENV{PATH});
    which correctly finds the required packages. it ain't pretty (it includes alot of useless junk), but it works. thanks again. michael