* Vadim <[EMAIL PROTECTED]> [2007-05-09 12:05]:
> Jonathan Rockway wrote:
> >As for Perl being a LISP... Perl is missing macros (unless you
> >count opgrep 
> 
> I consider eval "$string" as a replacement of macros.

Not even close. `eval EXPR` burdens you with generating
syntactically correct code and moves everything from compile time
to runtime.

It’s like the difference between doing

    *foo = sub { $bar };

and

    my $_bar = quotemeta $bar;
    eval "sub foo { \"$_bar\" }";

`eval EXPR` is useful, but a poor substitute for solid
metaprogramming facilities.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to