develooper Front page | perl.perl5.porters | Postings from January 2014

Re: How on earth did we manage to break pack() so badly?

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
January 14, 2014 20:21
Subject:
Re: How on earth did we manage to break pack() so badly?
Message ID:
20140114212108.3577d712@pc09.procura.nl
On Tue, 14 Jan 2014 21:12:57 +0100, Johan Vromans
<jvromans@squirrel.nl> wrote:

> For pack/unpack I'd love to see a CPAN module that uses a well defined,
> user friendly and less cryptic method to describe the data packing and
> unpacking.

with support for unpacking streams, yeah!

  while (my ($id, $data) = unpack "Cv/A", $file_handle) {
      # ...
      }

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About