in reply to <<, variable, and single quote behaving badly.
Think about it ... say if you wanted to say:$ cat monk.pl #!/usr/bin/perl -w use strict; my $x = 'Dwayne Johnson'; print <<XXX; ${x}'s the Sock. XXX $ ./monk.pl Dwayne Johnson's the Sock.
... now is $x_s a variable or not? {} and \ tell << that x is a variable.print <<XXX; $x_s the Sock. XXX
| Plankton: 1% Evil, 99% Hot Gas. |
|
|---|