Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: printing a single quote in a string when using -e optionby moxliukas (Curate) |
on Jul 24, 2003 at 06:48 UTC ( [id://277450]=note: print w/replies, xml ) | Need Help?? |
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
|
|