X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/7d20f0f1160c15c1b52ba92dc86441766040c6ec..651e4bfa3cc349373e8f9adfd068ff6a6476b153:/perl.inc.pl diff --git a/perl.inc.pl b/perl.inc.pl index 49e8eef..ba330ba 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -59,7 +59,7 @@ use utf8; v5.8 => { new => [ [q"no utf8", 'full unicode support, utf8 pragma only for script encoding', {name => 'utf8_data'}], - [q"binmode $fh, ':perlio'", 'file handle behaviour altered by PerlIO layers', {name => 'perlio'}], + [q"use open", 'file handle behaviour altered by PerlIO layers', {name => 'perlio', eg => 'binmode $fh, ":bytes"'}], [q"open $fh, '-|', @cmd", 'open list to fork a command without spawning a shell'], [q"open $fh, '>', \$var", 'perl scalars as virtual files'], [q"printf '%1$s', @args", 'syntax to use parameters out of order'],