develooper Front page | perl.perl5.porters | Postings from August 2012

Re: RFC: pack()ing long words

Thread Previous | Thread Next
Ricardo Signes
August 15, 2012 18:46
Re: RFC: pack()ing long words
Message ID:
* David Cantrell <> [2012-08-13T13:16:09]
> Leon's suggestion of putting the word length in {curlies} works nicely.
> > I kinda like your approach though. What about bits? Why restrict to
> > multiple of 8 bits?
> Hmmm ... and just have X{40}4 instead of X{5}4 for a five byte
> (== 40 bits) word.

I liked his suggestion as well.  I'd probably suggest r, as it's an
rbitrary-length word.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About