Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: CGI:Application and HTML::Template parameter passing

by meraxes (Friar)
on Sep 03, 2007 at 01:14 UTC ( #636655=note: print w/replies, xml ) Need Help??


in reply to Re: CGI:Application and HTML::Template parameter passing
in thread CGI:Application and HTML::Template parameter passing

In addition to the above and since you're using the ValidateRM plugin (hoorah!) you may want to also consider using $result->valid('userid') instead of $q->param('userid') to make sure you're taking advantage of all the goodes that ValidateRM provides.

If any of the params are using a filter (like trim or digit or a custom one) or if you eventually start using filters, doing this will stop you from having to change anything later. Filters are definately good to clean your data up.

--
meraxes

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://636655]
help
Chatterbox?
[atcroft]: What are the pros and cons of metacpan.org vs. search.cpan.org? (I am curious.)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2017-05-27 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?