Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: novie perl-CGI user

by mkmcconn (Chaplain)
on Mar 20, 2001 at 00:27 UTC ( [id://65539]=note: print w/replies, xml ) Need Help??


in reply to novie perl-CGI user

novitiate, all I can think of saying is, there are some small infelicities in your function that are probably not related to the problem you are having.

  • I think you don't really want to prototype form() since it probably appears too late in your program anyway - so, remove the parens.
  • You don't need to tell start_multipart_form() to use -enctype=>'multipart/form-data', because adding that parameter is about the only thing this alias for the start_form() function does.
  • You can concatenate all of your consecutive print statements, using a comma (Replace the semi-colons with commas and remove the prints between). I suppose this might have a cost for building the string, but I can't imagine that it would be as expensive as calling print for every string fragment.
I regret that there isn't more here that's helpful to your specific problem; I wasn't able to reproduce your errors, and lacking your netsession.cgi probably can't. But, hopefully, there might be something useful in what I did think of saying.

mkmcconn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found