Jarkko Hietaniemi wrote:

> This reminds me of a related but rather opposite desire I have had
> more than once: a quotish context that would be otherwise like q() but
> with some minimal extra typing I could mark a scalar or an array to be
> expanded as in qq().  For example doubling the $ and @? $$foo, @@bar?
> This comes in handy when you are generating big blocks of code on the
> fly but only tiny parts of it needs to be interpolated.  Unfortunately
> the margin of my monitor is not enough to describe this wonderful idea
> in a form of a RFC.


        $qqdString =~ s/\[(\w+)\]/defined($vars{$1})?$vars{$1}:"[$1]"/ge;



-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]
                "After jotting these points down, we felt better."

Reply via email to