Security hole: $dest is in double quotes. If it contains something like @{[ arbitrary Perl code here]} then that Perl code will be executed. (Code interpolation in double quote context.)
This one is clearly false. The other one (2-arg open) is indeed a security bug.
(Update: formatting)
In reply to Re: Bad code from the trenches
by ambrus
in thread Bad code from the trenches
by Whitehawke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |