Date: | Sun, 13 Jun 2004 12:37:54 -0400 |
From: | Rocco Caputo <rcaputo [...] pobox.com> |
To: | bug-PAR [...] rt.cpan.org |
Subject: | PAR executables see PERL5LIB/PERLLIB environment |
I'm not sure if I'm reporting a bug or a feature.
On development machines, programs that load modules at runtime will
not fail if they aren't given the proper -M options. The PAR
executables will fetch necessary modules from @INC if they aren't
available in its cache.
Of course they'll fail after being deployed to systems that don't have
all the necessary modules (or Perl at all). This is an excellent
argument for using staging/testing servers.
As a workaround, PAR could force the executable to fail in development
as well as deployment. It could replace @INC entirely, blinding
itself to the installed Perl and its libraries.
-- Rocco Caputo - http://poe.perl.org/