in reply to printing a single quote in a string when using -e option
Try using quoting operators (for more information see perlop: qoute an quote like operators):
perl -e "print q{'}"The above prints a single quote as expected.
|
---|
In Section
Seekers of Perl Wisdom