Code Comments
Programming Forum and web based access to our favorite programming groups.# New Ticket Created by Stephane Payrard # Please include the string: [perl #53018] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53018 > # grammars don't behave as regular classes. # I would expect A.WHAT to exist and to behave like with a regular class # and be able to use A.a in a smart match class B {}; say B.WHAT; grammar A { token a { a } }; # say A.WHAT; ==> Method 'WHAT' not found for non-object say 'a' ~~ A.a; # ==> Method 'a' not found for non-object -- cognominal stef
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.