Escaping the @ might let you get further and a one-liner can span more than one line :-)
$ perl -Mstrict -Mwarnings -E ' my $text = <<'EOT'; some text fred\@bloggs.com EOT say $text;' some text fred@bloggs.com $
I hope this is helpful.
Cheers,
JohnGG
In reply to Re: Heredoc in one-liner?
by johngg
in thread Heredoc in one-liner?
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |