Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want my Perl one-liner to print quotes. See my attempts below.
TIA.$ perl -lane "print 'hello '' ' " $ perl -lane 'print "hello '' " -- this seems to be waiting for som +ething. $ perl -lane 'print "hello \'\' " -- this also seems to be waiting fo +r something.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl one-liner Quotes help
by ikegami (Patriarch) on Jul 15, 2010 at 19:06 UTC | |
Re: Perl one-liner Quotes help
by johngg (Canon) on Jul 15, 2010 at 20:59 UTC | |
Re: Perl one-liner Quotes help
by alexbio (Monk) on Jul 15, 2010 at 18:36 UTC | |
Re: Perl one-liner Quotes help
by mikeraz (Friar) on Jul 15, 2010 at 18:20 UTC | |
Re: Perl one-liner Quotes help
by haoess (Curate) on Jul 15, 2010 at 19:57 UTC |
Back to
Seekers of Perl Wisdom