[DCPM] To quote or not to quote.

Steve Marvell steve at devon-it.co.uk
Thu Jun 30 14:25:40 PDT 2005


I've drunk a lot of wine, but I can identify this and will look into
other bits tomorrow.

Neil Williams wrote:

> I can't use print <<EOF; because the content needs to be stored in a
> variable and is not printed immediately.

$a = <<EOA;
thing
thing
thing
EOA

print $a;

> Is it safe to use qq//; over multiple lines (using q$ $;maybe)?

Yes.

Steve


More information about the Devoncornwall-pm mailing list