
CGI.pm and &UNIVERSAL::isa called...
Hello,
I was using perl4, than I installed perl5.003. (I didnot uninstall
perl4, coz I dont know how. Also I have some scripts which are working
with it.)
Now I want to upgrade as you adviced, but I dont know how. Should I
just download the latest version and just install it? Will it replace
the old one? (I am using a virtual server. And my space is limited as
you know. )
I would apreciate any advice...
Thanks again,
Good luck on all your works,
Sincerely
Quote:
>>Hello,
>>I installed CGI.pm 2.39 library on a UNIX server / Perl5.003
>>Then I tried a form handling script which parses inputs and prints on
>>the fly to pages, I got this error message:
>>&UNIVERSAL::isa called at /usr/local/lib/perl5/CGI.pm line 276
>>And The line that server is talking about is this:
>>276) unless (defined($_[0]) &&
>>277) (ref($_[0]) eq 'CGI' || UNIVERSAL::isa($_[0],'CGI')) #
>>slightly optimized for common case
>UNIVERSAL::isa isn't available in perl5.003. You need to upgrade to
>a newer perl (5.004 or later).
>Or you could try and find an old version of CGI.pm which is 5.003
>compatible.
>Why doesn't CGI.pm 2.39 have a "use 5.004;" in it, since it isn't
>compatible with earlier Perls?
>Mike Guy
"Let Information Be Free..."