On Feb 19, 2005, at 9:01 AM, Ken Williams wrote:

Note also that <<'EOF' is *almost* but not quite exactly identical to q{}. The former has no escape sequences, the latter has \\ and \{ and \}. That's the main reason I ever use heredocs, actually. Or if I'm in a script and not a module, I use __DATA__ sections.

Note that you can use different delimiters with qq, as well:

my $example = qq[ there be {braces} ];

Regards,

David



Reply via email to