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

Re: Trouble getting CGI parameters

by GrandFather (Saint)
on Apr 30, 2006 at 22:56 UTC ( [id://546611]=note: print w/replies, xml ) Need Help??


in reply to Trouble getting CGI parameters

How about reducing the code to just show your problem and to eliminate anything external that isn't pertinent to the problem.

For a start, check that the parameter values are as you expect. If they are, place $q->param('...') with a constant string. That makes it easier for use to reproduce your issue. If the parameters are not what you expect, then you have learned something :).

For test purposes use print rather than printing to a file and show us what you get and what you expect.

Remove any use lines that you don't absolutly need (except use strict; use warnings;) to show the problem.

Reduce any HTML to the minimum required to show the problem.


DWIM is Perl's answer to Gödel

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found