Matt skribis 2005-04-20 13:51 (-0400):
> If not already possible, it would be neat to be able to define your own
> quote blocks.  Such as being able to define how to parse the below lines:

It is possible to create your own sql// if you want it.

>       for q:sql/SELECT * FROM table WHERE id=$id/ {
>               say $_.id ~ ' -> ' ~ $_.value;
>       }

What is the benefit of this syntax over having a simple function that
takes one argument, interpolating variables from CALLER::?

    for sql 'SELECT * FROM table WHERE id=$id' { ... }


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to