- or download this
$ perl -le'print q{"$temp"}'
"$temp"
- or download this
$ perl -le'$temp=q{Bread was $1.50}; print eval q{"$temp"}'
Bread was $1.50
$ perl -le'$temp=q{Bread was $1.50}; print "$temp"'
Bread was $1.50
- or download this
'...'
- or download this
sprintf('%s', '...')
- or download this
$ perl -E'use strict; my $x = 10; eval q{ my $y = $x; }; say $y'
Global symbol "$y" requires explicit package name at -e line 1.
...
$ perl -E'use strict; my $x = 10; my $y = eval q{ $x }; say $y'
10