[JaxPM] Error message
J Proctor
jproctor at marlboro.edu
Wed May 15 10:15:43 CDT 2002
On the jacksonville-pm-list; Jax.PM'er J Proctor <jproctor at marlboro.edu> wrote -
> It is highly likely that the HTTP Referrer is broken.
>> if (!$ENV{'HTTP_REFERER'}) {
While it is not always the best way to debug stuff, I am a firm advocate
of peppering with print statements to see if variables hold what you think
they should. In the print block, try printing the contents of
$ENV{HTTP_REFERER} as part of the error message. I recommend enclosing in
some "neutral" character like ()s so you can "see" null values.
Also, is it specific browser(s) that break the script? It may be that a
browser isn't reporting things properly. Don't know how you get around
that; most scripts I see that require form submission do something like
make sure there's a value for "submit".
j
Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...
More information about the Jacksonville-pm
mailing list