in reply to Parse::RecDescent and auto{actions,trees} and stuff
instead of:int=10 time=1 int=12 load=1 ...
int=10 time=10 int=12 load=12 ...
Also, in your case you can safely remove the assignments to $return from your code. Assigning to $return is useful if, for instance, the return value is determined by an action block which is not the last:
Normally the return value would be whatever is returned by the action following things, but in this case it is set by the code in the action following stuff.production: stuff { $return = ... } and other { ... } things { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse::RecDescent and auto{actions,trees} and stuff
by mattford63 (Sexton) on Jul 16, 2008 at 14:56 UTC | |
by pc88mxer (Vicar) on Jul 16, 2008 at 16:15 UTC | |
by mattford63 (Sexton) on Jul 16, 2008 at 17:07 UTC | |
by ikegami (Patriarch) on Jul 16, 2008 at 20:14 UTC | |
by mattford63 (Sexton) on Jul 17, 2008 at 16:51 UTC | |
|