* Chris Devers <[EMAIL PROTECTED]>
> Doesn't that look so much easier than heredoc syntax? You can pick
> whatever quot delimiters work best for the output of the moment, you
> don't have to keep track of the fiddly <<TOKEN; syntax, you don't get
> tripped up if the closing quote has *gasp* proper indentation, etc.

Warning! The qq[] syntax produces different output than the heredoc:

my $foo = <<EOD;
asdf
EOD

my $bar = qq[
asdf
];

print "uh oh" unless $foo eq $bar;

Another alternative would be to template the output via
HTML::Template or similar.

Reply via email to