develooper Front page | perl.perl5.porters | Postings from September 1999

Re: [PATCH 5.005_61] Enable comments in pack()/unpack() templates

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
September 23, 1999 00:06
Subject:
Re: [PATCH 5.005_61] Enable comments in pack()/unpack() templates
Message ID:
199909230710.AAA14349@activestate.com
On Wed, 22 Sep 1999 19:41:30 EDT, Ilya Zakharevich wrote:
>The suggestion was to enable comments by moving the multiplier char
>from '#' to '%'.  Fortunately, '%' is already occupied, which lead me
>to think about '/'.  This leads to very readable path-like groups.

Too bad '*' is taken; it would have been much more mnemonic as
"count 'times' type".  Maybe we should pick '><'. :-1/2)

>P.S.  The pack.t change may conflict with the other test patch I
>      remember sending in a month ago.  Sorry for this.

You mean the one with no documentation?  That patch has been, um,
deferred until someone explains what it does in the form of a
patch. :-)

>+		DIE(aTHX_ "% must follow a numeric type");
>+		DIE(aTHX_ "% must be followed by a, A or Z");
>+		DIE(aTHX_ "% cannot take a count" );
>+		DIE(aTHX_ "% must be followed by a*, A* or Z*");

I had to s|%|/| those before application.


Sarathy
gsar@activestate.com

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