Larry Wall writes:
> Or maybe we just stick with what we already allow:
> 
>     my $name = 'add';
>     my $code = q[
>       sub \qq[$name] ($left, $right) {
>           return $left + $right;
>        }
>     ];
> 
> After all, that's why we put \q interpolation into '' in the first place.

Ahh yes.  Silly me, thinking there was something without a nice
solution.  This is Perl!

Luke

Reply via email to