On 10/30/07, Paul Lalli <[EMAIL PROTECTED]> wrote about magic open: > It's there to make modern Perl compatable with old Perls. The only > justifiable reason I can think of to use it is to allow your user to > specify a pipe instead of a file name when you ask for a file. And if > that's something you want to do, I'd suggest you're programming a > pretty massive security hole.
No; you're letting the user do what they want. You're not opening any security hole that wasn't opened by letting the user enter the command on the command line in the first place. (Of course, if the command didn't come from the user, that's another situation entirely.) Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/