Do you know where your variables are? | |
PerlMonks |
Re: Perl one-liner Quotes helpby alexbio (Monk) |
on Jul 15, 2010 at 18:36 UTC ( [id://849826]=note: print w/replies, xml ) | Need Help?? |
In the second and third examples, you forgot a final ' If you want ' print working try perl -e "print 'hello \'\' ' "or perl -e "print \"hello \'\' \" "(Like the first example but with \') The second and third, wait for something because they (with -lane) mean
Update: Just inverted order of things and corrected some errors.
Alex's Log - http://alexlog.co.cc
In Section
Seekers of Perl Wisdom
|
|