Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Checking Submitted Form Data

by projekt21 (Friar)
on Feb 27, 2002 at 11:45 UTC ( [id://147868]=note: print w/replies, xml ) Need Help??


in reply to Checking Submitted Form Data

I'm puzzled that you say, it works, as I get errors:

Global symbol "@reqform" requires explicit package name at test017.pl +line 16. Global symbol "@reqform" requires explicit package name at test017.pl +line 21. Global symbol "@errormsg" requires explicit package name at test017.pl + line 22. Global symbol "@errormsg" requires explicit package name at test017.pl + line 22. Global symbol "@errormsg" requires explicit package name at test017.pl + line 24. Global symbol "@errormsg" requires explicit package name at test017.pl + line 34. Bareword "var1" not allowed while "strict subs" in use at test017.pl l +ine 16. Bareword "var2" not allowed while "strict subs" in use at test017.pl l +ine 16. Bareword "var3" not allowed while "strict subs" in use at test017.pl l +ine 16. test017.pl had compilation errors.
change
my @reqform = qw(var1 var2 var3); # quote them!
and add
my @errormsg;

alex pleiner <alex@zeitform.de>
zeitform Internet Dienste

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (None)
    As of 2024-04-25 04:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found