'...' doesn't interpolate.
push @f, '$ and a';
push @f, "'";
print join '', @f;
If you want. I have a feeling YDIW and need to step back and present the actual problem.
Hi,
How can I escape a ' inside '...'
e.g. perl -e 'print '$ and a' ' # I don't want to use "
thank you
Andrew