Keep It Simple, Stupid | |
PerlMonks |
Re: safety in system callsby damian1301 (Curate) |
on Jun 15, 2001 at 21:04 UTC ( [id://88855]=note: print w/replies, xml ) | Need Help?? |
If you want to make sure that you are safe you should always use warnings, strict.pm, and taint mode(if you can). As an extra, you should try using the CPAN module Safe.
Now since I am so bored, I just want to clean up a bit of that code.
Wouldn't it be much better if you just iterated over the identity array because you don't use $i anywhere in there? ..:
Tiptoeing up to a Perl hacker. Dave AKA damian
In Section
Seekers of Perl Wisdom
|
|