On 5/9/07, Vadim <[EMAIL PROTECTED]> wrote:
I consider eval "$string" as a replacement of macros.

for instance,  I did the following in a curl wrapper package, to make
the curlies optional around the fieldnames:

       BEGIN { for (qw/
  BUFFER CALLBACK DATA EVENT FAILURE FETCHTIMEOUT
  GET MAXAGE MAXSTALE MESSAGE NOCACHE POST
  READY STARTED UH URL USER/){
              eval <<FIELD;
                         sub $_ : lvalue {
                               \$_[0]->{$_}
                         }
FIELD
       }}

What would that look like in LISP?

Reply via email to