[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell - escapes



'...'  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.

On May 10, 2016 05:36, "Die Optimisten" <inform@die-optimisten.net> wrote:
Hi,

How can I escape a ' inside '...'
e.g. perl -e 'print '$ and a' '    # I don't want to use "

thank you
Andrew


Reply to: