develooper Front page | perl.perl5.porters | Postings from November 2017

Re: square signatures

Thread Previous | Thread Next
From:
David Cantrell
Date:
November 21, 2017 16:47
Subject:
Re: square signatures
Message ID:
20171121163928.GA3512@bytemark.barnyard.co.uk
On Mon, Nov 20, 2017 at 11:33:03AM -0600, David Nicol wrote:

> My unusual opinion on this matter continues to be that instead of providing
> a signatures syntax, it would be better to provide a macro syntax that is
> capable of defining a signature syntax.
> 
> #<<< no tidy
>     MACRO sigsub [ M@1 ] { EXPANDS TO 'sub {  my (M@1) = @_;'; # no need to
> quote whatever is betwen MACRO and EXPANDS TO because MACRO seized the
> input stream and M@n means
> #>>> resume balancing curlies

How about we spell the switch for turning on macro juiciness '-P'.

-- 
David Cantrell | top google result for "internet beard fetish club"

  For every vengeance, there is an equal and opposite revengeance.
                                            -- Cartoon Law XI

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