Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Dake Desu... cannot remember my pass, seeing as how I have not made a mental mnemoric for it yet, and I cannot check my email for it at school (Never write your passwords down). How 'bout $filevar ~= s/>/>/g; open FILE, "<mode>$filevar" or die "Could not open file: $!"; If an end user decides to add those ">" to the variable, and be generally evil, it will blow up in their face... Also adds some security for CGI, if your doing something like a forum ^_^. Ps: I will never get use to HTML in forums ^_^ In reply to Re: Two-arg open() considered dangerous
by Anonymous Monk
|
|