in reply to CGI Upload with OLD CGI.pm

Install the new version.

Oops.

Seriously, just install a new version of CGI on your local computer then FTP the resulting CGI.pm and CGI/*.pm files to your account and use lib '/full/path'; to your script where you now have /full/path/CGI.pm and /full/path/CGI/*.pm in place. (Note that not all modules are this easy to fake an install for, though.)

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: CGI Upload with OLD CGI.pm
by amelinda (Friar) on Oct 17, 2001 at 23:34 UTC
    Really? It was exactly because I didn't think it would be easy to fake an install for it that I didn't try to do that. Maybe I'll do that.

    THANK YOU EASTER TYE!

      It's not just easy, it's easy peasy pudding and pie - I do it all the time and I don't know ***t from shinola when it comes to managing unix systems.

      Tip for PC prisoners:
      To find the file path, run a script with an obvious, catastrophic error, then look up the error_log, and it'll give you the filepath to your script. Replace the script name with "lib" (and create a directory called "lib") and then you've got the path to go in "use lib '/path/path/pathedy/path/'

      This may sound absurd, but believe me, for this bear of little brain it was a major lifestyle improvement when I figured it out.

      § George Sherston