Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

(tye)Re: CGI Upload with OLD CGI.pm

by tye (Sage)
on Oct 17, 2001 at 22:44 UTC ( #119502=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://119502]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-06-24 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?