http://qs321.pair.com?node_id=277450


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.