If you're thinking of
print "'$cheese' ";
it should be ok because the single-quotes are actually in | actually literal characters within a double-quote operator:
c:\@Work\Perl\monks>perl -wMstrict -le "my $cheese = 'limburger'; print \"'$cheese' \"; " 'limburger'
Give a man a fish: <%-{-{-{-<
In reply to Re^2: syntax error at example.pl line 1
by AnomalousMonk
in thread syntax error at example.pl line 1
by reichktr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |