|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Re: Security with open() in CGI scriptsby brianarn (Chaplain) |
| on Feb 26, 2002 at 00:48 UTC ( [id://147489]=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.
Another thought on the token idea here... I'd recommend having another file external to the script, which contains some quick perl code to create the token list, such as <blatently stolen from Gary's reply ;)> and then just require this file when you need to reference the token. This way, it's easy to add to the themes without having to find where it's at in some script. I'm personally all about the use of extra files for data like this - it helps keep script sizes smaller and helps to separate the code from the data. ~Brian
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||