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:
Johan Vromans
Date:
January 15, 2014 12:53
Subject:
Re: How on earth did we manage to break pack() so badly?
Message ID:
m2lhyhbe3t.fsf@phoenix.squirrel.nl
Shlomi Fish <shlomif@shlomifish.org> writes:

> There are some CPAN modules like that, including
> https://metacpan.org/release/Data-ParseBinary , which was inspired by
> PyConstruct - http://construct.readthedocs.org/en/latest/ .

This is a good example of implementing the pack/unpack functionality in
a radically different approach.

> For formats, there is Perl6-Form (see
> http://perl-begin.org/tutorials/bad-elements/#perlform ).

Well, this is just a minimally improved implementation of the
current functionality. (It's 0.04, ten years old, and Damian's.)

I'd prefer a new implementation to be more MD- or HTML-like.
See e.g. Data::Report. (Okay, it's 0.10, six years old, and mine.)

-- Johan

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