develooper Front page | perl.perl5.porters | Postings from December 2008

[PATCH] Class Take Three

Thread Next
From:
chromatic
Date:
December 13, 2008 11:53
Subject:
[PATCH] Class Take Three
Message ID:
200812131153.01049.chromatic@wgz.org
As I tried to prove Aristotle wrong, I inadvertently proved him right.  Thus 
this patch proves him wrong again.  (Sorry, Aristotle).

Now the new class keyword does not interfere with predeclared class() subs, 
even if they take single-quoted arguments.  (That matters because the single 
quote was once the package separator, and there's still a lexer rule which 
detects that.)  See the test part of the patch for a demonstration.

-- c


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