in reply to Re: Parentheses missing around "my" list
in thread Parentheses missing around "my" list

open my $file, do {$filename};

I'm glad I had a mild lunch.


Dave

Replies are listed 'Best First'.
Re^3: Parentheses missing around "my" list
by rastoboy (Monk) on Jul 28, 2011 at 14:46 UTC
    That is totally awesome, y'all, thanks!

    As usual, it turns out that shortcuts I take during "development" are more trouble than their worth. Leaving off error handling for opening the file, not using the three argument version of open--both things I know perfectly well are best practice.

    Still, very educational, thanks again!