in reply to open (my $f, ....)

So, is there some reason doing what I just did is a bad idea?

On the contrary, Damian Conway's Perl Best Practices recommends this approach. But you should check the return value of open.

Phil

Replies are listed 'Best First'.
Re^2: open (my $f, ....)
by lezek (Initiate) on Feb 16, 2006 at 17:14 UTC
    Thanks, I didn't know about it for some reason :). I will of course check the return value of open for important code ;).