Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Checking Submitted Form Data

by projekt21 (Friar)
on Feb 27, 2002 at 11:45 UTC ( #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
Node Status?
node history
Node Type: note [id://147868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2021-04-16 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?