P is for Practical | |
PerlMonks |
A strict CGI parser?by cei (Monk) |
on Jul 26, 2000 at 00:51 UTC ( [id://24349]=perlquestion: print w/replies, xml ) | Need Help?? |
cei has asked for the wisdom of the Perl Monks concerning the following question:
Since I have learned the ways of CGI.pm, the world has been a better place. But there are still some servers I have to write scripts for that don't have any CPAN modules installed. When this happens, I normally use the following subroutine:
This then makes a variable $in{'foo'} for the HTML form element named foo. Great. But I've also started writing use strict in all my code, and it's not real clear to me how I can get my scoping correct using the above function. Any ideas?
Back to
Seekers of Perl Wisdom
|
|