Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Strange CGI problem with POST

by r.joseph (Hermit)
on Mar 19, 2001 at 21:52 UTC ( [id://65485]=note: print w/replies, xml ) Need Help??


in reply to Strange CGI problem with POST

Thanks alot guys. I already had -w and use strict;, so I am going to have to dig into my code a little bit more. But you defintely have a point - I need to convert PDQ.

However, just really quickly, I have a question for clairification: when using the my $cgi = CGI::new(); method, varibles can be accessed by using $cgi->param(...);, correct?

Also, what would be the best way to go about converting programs that maybe be in excess of 1,000 lines to using the above stated method?

Thanks for all the help!!

R.Joseph

Replies are listed 'Best First'.
Re: Re: Strange CGI problem with POST
by extremely (Priest) on Mar 20, 2001 at 07:16 UTC
    CGI.pm's ReadParse is fine. Don't fix what isn't broke. Update them as you are forced to revisit them.

    Also, you don't have to use the Object Method system with CGI if you don't wish to. use CGI qw(:standard); will let you call most of the CGI methods as direct subroutines. $username= param('username'); is nice.

    --
    $you = new YOU;
    honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://65485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-19 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found