in reply to Re: Completely wipe out Perl in win32
in thread Completely wipe out Perl in win32

ok i removed eprl again and rebooted. then i di this
C:\Documents and Settings\MacGyver>perl -MCGI -le "print $CGI::VERSION +"; 3.15 then C:\Documents and Settings\MacGyver>ppm install http://theoryx5.uwinnip +eg.ca/ppms /CGI.pm.ppd and then C:\Documents and Settings\MacGyver>perl -MCGI -le "print $CGI::VERSION +"; 3.15
Vouala CGI.pm still says its version 3.15 although we have updated it to v3.2!!!!
What on earth...........?!?!

Replies are listed 'Best First'.
Re^3: Completely wipe out Perl in win32
by rhesa (Vicar) on May 17, 2006 at 21:59 UTC
    I can't verify this right now, but the theoryx site does have CGI 3.20 listed. My guess is that your original perl installation comes with CGI 3.15, and has it in perl/lib, while the theoryx version gets installed in perl/site/lib. I assume then that the site/lib comes later in your @INC, so that the newer version isn't picked up.

    You might try forcing the use of 3.20 by running perl -e "use CGI 3.20; print $CGI::VERSION" or similar. You'd have to use CGI 3.20; in your code as well, of course.

Re^3: Completely wipe out Perl in win32
by QM (Parson) on May 17, 2006 at 20:55 UTC
    Is it possible that the site doesn't have the latest version?

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      ok i have deleted the CGI.pm file and CGI/ folder and problem solved.