http://www.perlmonks.org?node_id=181097


in reply to Fish dinner

my $Mmmm = $Yummy and chomp <<&EOT;

<)))>< ~ ~ ~ ><(((> ~

EOT

Replies are listed 'Best First'.
Re: Fish dinner
by bart (Canon) on Aug 20, 2002 at 10:48 UTC
    I'm having trouble with the ampersand between the "<<" and the "EOT". So is Perl 5.6.1:
    Operator or semicolon missing before &EOT at test.pl line 4.
    Ambiguous use of & resolved as operator & at test.pl line 4.
    And then there's this:
    Can't modify scalar in chomp at test.pl line 4, near "&"
    At least, it should compile. IMO.