Here's a concise snippet showing how nice it would be to have macros. I'm writing a better, static version that runs a BEGIN-time version but I could have been done already. I'm grumpy.
my @attr = eval join ',', map sprintf( 'map( $self->stringify_%1$s( $op, $_ ), @%1$s_attribu +tes )', $_ ), qw( string number unhandled treeorder execorder );
In reply to Macro-envy, a snippet. by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |