produce this output in perl, v5.8.1?#!/usr/bin/perl -w use strict; my $x = 'Dwayne Johnson'; print <<XXX; $x's the Rock. XXX
The problems go away if I prepend the single quote with a backslash.Name "x::s" used only once: possible typo at ./test.pl line 7. Use of uninitialized value in concatenation (.) or string at ./test.pl + line 7. the Rock.
In reply to <<, variable, and single quote behaving badly. by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |