On topic: The Wednesday Challenge

Yitzchak Scott-Thoennes sthoenna at efn.org
Wed Aug 15 23:10:08 BST 2007


On Wed, August 15, 2007 2:47 pm, Yitzchak Scott-Thoennes wrote:
> binmode(STDIN);

> map ++$byte{$_}, unpack "(Z)*", $_ while <>;

I suppose that should either be while <STDIN> and

   binmode(STDIN);
   binmode(STDOUT);

or the binmode be replaced with

   use open IO => ":bytes";





More information about the london.pm mailing list