|go ahead... be a heretic|
Re^3: Add directry to @INC system wideby taint (Chaplain)
|on Apr 24, 2013 at 03:32 UTC||Need Help??|
It occurs to me that one could also create a module that "pre-pends" the desired
additional directory the system' include path, which could then become a system
wide include, by creating a wrapper for the Perl executable.
If the module name were "prepend-lib-path.pm" the "wrapper" that disguises itself as
Perl proper, would contain:
While not an excuse to omit "lib" paths you might later decide you need;
it might help in a pinch.
#!/usr/bin/perl -Tw use perl::always; my $perl_version = "5.12.4"; print $perl_version;