"Tom Phoenix" schreef:

> the text eval is a dangerous and powerful beast, not
> easily tamed. Avoid avoid avoid.

Ack.

Do you know of a serious and safe way to use macros that are expanded
inline?

For example:

  lookup_table 'table', 'run_', (cat, jackalope, yeti);

would expand to:

    my %table = (  cat        =>  \&run_cat
                ,  jackalope  =>  \&run_jackalope
                ,  yeti       =>  \&run_yeti
                );

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to