tjjames has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: script not recognizing set passwords,reguardless of how it's referanced
by katgirl (Hermit) on Sep 13, 2002 at 08:30 UTC
    I think it would be better if you used CGI.pm to handle your uploads, this will simplify the whole thing and there will be less chance of errors in the code. Almost every book on perl has large sections explaining it's use, or you could go to: http://stein.cshl.org/WWW/software/CGI/cgi_docs.html

    Can't remember the last time I saw a script that used a cgi_lib file :)

Re: script not recognizing set passwords,regardless of how it's referenced
by dws (Chancellor) on Sep 13, 2002 at 18:00 UTC
    A good exercise when you're faced with a problem like this is to make a copy of the script, then eliminate as much non-related stuff from the copy as you can. Work towards the smallest script you can that still exhibits the problem. Many times, during the course of this exercise you'll get the "D'oh!" moment where the problem leaps out at you.

    Then consider using CGI instead of 'cgi-lib2'. If cgi-lib2 is related to cgi-lib, then you're using an old, unmaintained module. CGI.pm is a safer choice.