Dear Monks,
I've run into an issue with different version of Perl.Basically, the Solaris system owns Perl 5.8.0.
For an request, a CGI::Session-4.20 is needed, but it can not be installed smoothly by
perl Makefile.PL. However, a Perl5.8.8 is installed into a different directoy from Perl 5.8.0. Using
/new_perl5.8.8_dir/usr/local/bin/perl Makefile.PL command will let the installation moving on.
And CGI::Session-4.20 is installed successfully.
The question is that a few cgi file would use the sesssion module, and it would need Perl5.8.8 as its running environment. How do I modify the code to let specified cgi files to invoke CGI::Session correctly ? Could you pls help on this ?
#!/usr/bin/perl
use strict;
use CGI qw/:standard/;
use lib '/home/sdbadmin/PerlModule';
use CGI::Session;
my $cgi_obj = new CGI();
my $session = new CGI::Session() or die CGI::Session->errstr;