Is it possible to interpolate the contents of a variable into an escape sequence?
Something like
# print LINEFEED, FORMFEED, and CARRIAGE RETURN
print "\c$_" foreach ('J', 'L', 'M');
I have tried:
my $x = "L";
print "\c$x";
my $x = "L";
print eval "\c$x";
my $x = '\c';
my $y = 'L';
print...