I am currently running Perl on 11 different platforms. I
need help determining the best practice for dynamically
switching libraries when one runs a different version
of Perl on different platforms.
My requirements are:
perl $FOO/foo.pl -bla bla bla IO object version 1.20 does not match bootstrap parameter 1.15 at /usr +/local/lib /perl5/5.6.1//sun4-solaris/DynaLoader.pm line 225. Compilation failed in require at /.../perl/lib/Custom_mods/logfile. pm line 49. BEGIN failed--compilation aborted at /.../perl/lib/Custom_mods/logf ile.pm line 49. Compilation failed in require at /abc/123/foo.pl line 9 3. BEGIN failed--compilation aborted at /abc/123/foo.pl li ne 93.
Module Version File.pm 1.06021 Handle.pm 1.1505 Pipe 1.0902 Seekable 1.06 Select 1.10 Socket 1.1603
PERL_HOME=/usr/local/bin PERL=/usr/local/bin/perl PERL5LIB=/usr/local/lib/perl5/5.6.1/:/foo/custom/perl/liband on aix:
PERL=/bin/perl PERL5LIB=/usr/opt/perl5/lib/5.00503:/foo/custom/perl/lib PERL_HOME=/bin
-P0w3rK!d
P.S. I have no idea why I am seeing this:
/usr/local/lib/perl5/5.6.1//sun4-solaris/DynaLoader.pm
There appear to be no libraries on the solaris box I am using other than for Perl 5.6.1. There is a Perl executable of version 5.00404. This probably is not related, but I want to make sure.
Edit re IO mod's at author's req. - dvergin 2003-04-15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |