Larry Wall writes:
>  sub term:qa (str $quotestr) is parsed /qa<quotestr>/ { ... }

Michael Lazzaro writes : 
>     my Pet @list = qm : << name type breed >> {
>         fido     dog   collie
>         fluffy   cat   siamese
>     };

doesnt it have to be 
my Pet @list = qm << name type breed >> : {   ...  } ;

?

sub term:qm ( @attrnames : str $quotestr is parsed/<quotestr>/ ) {
   $quotestr ~~ m:w/ [ <word> ]+ / ; 
   my @thing = $0{word} ; 
   ...
};

is this right way to declare term:qm ?

arcadi . 

Reply via email to