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

[PATCH] Class Take Three

Thread Next
December 13, 2008 11:53
[PATCH] Class Take Three
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About