unless (open (FH, "filename.ext")) { print STDERR "Cannot open file - ", $!, "\n"; exit 1; }; binmode (FH); while (<FH>) { ... your code follows ... };
In reply to Re: Any way to binmode
by rob_au
in thread Any way to binmode <>
by Thelonius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |