|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Using Variables in Path Namesby premchai21 (Curate) |
| on Nov 27, 2001 at 22:22 UTC ( [id://127955]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
A suggestion: use strict warnings and diagnostics or die; it also would be a good idea to use the module CGI, as its parser is considered the best for query strings; note also that your if statements can be combined. I'm not sure, but I believe it's the roll-your-own parser that's causing you grief. Also look at perlsec. Try using CGI, strict, and warnings (or -w), as well as possibly taint mode (perlrun / perlsec) then come back if you still have problems.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||