note
VinsWorldcom
<p>Thank you! Can't say I've always done that in the past (although I've been using the 3-arg form for..?ever?). The "or die" with $!:</p>
<c>
open my $fh, '<', $file
or die "$0: cannot open $file: $!";
</c>
<p>has been updated in my quick snippets!</p>
<p><B>UPDATE:</b> removed extra semicolon after first line - thanks [haukex]</p>
11102684
11102684