You can also use the constant for the BEGIN block if you are so inclined, of course (provided you define it before the block).use constant PRE_5_8 => $[ < 5.008; binmode $fh if PRE_5_8;
Makeshifts last the longest.
In reply to Re^3: Perl 5.8, sockets and binmode()
by Aristotle
in thread Perl 5.8, sockets and binmode()
by Jenda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |