in reply to Re: Re: perl wrapped in batch
in thread perl wrapped in batch

ah, I see,

The easiest way for this is to set the environment variable PERL5LIB instead of PATH to point to the module files.

From perlrun:

PERL5LIB
A colon-separated list of directories in which to look for Perl library files before looking in the standard library and the current directory.
Any architecture-specific directories under the specified locations are automatically included if they exist. If PERL5LIB is not defined, PERLLIB is used.
-- Joost downtime n. The period during which a system is error-free and immune from user input.