Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl 6 grammars - setting the actions object

by duelafn (Parson)
on Jul 19, 2016 at 01:37 UTC ( [id://1168024]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       token value {
          <val=object> | <val=string> | <val=number> 
    ...
           when "null"  {make Any;}
           default { make $<val>.made; }
       }
    
  2. or download this
        return make $<val>.made if $<val>;
        given ~$/ {
    ...
           when "null"  {make Any;}
           default { die; }
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found