Isn't the standard-ish way to do
use lib '/some/path'

or by setting the env var
PERL5LIB='/some/path'

before execution?   You can manipulate/download cpan modules to install 
in a local (e.g. /home/andy/perl5lib) tree - even a version of the whole 
perl shebang, er, kit, if needs be and as long as the correct binary is 
first in the path, you'll can run all your own modules.  But, at least, 
rather than manipulate @INC on your own (remember, 'use' is compile 
time, so
push @INC '/some/path';
use Image::Size;

*won't* find /some/path/Image/Size.pm as the "push" is runtime and "use" 
is compile time (see BEGIN: and require).

a
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to