Further to Athanasius's reply: If you don't like using quotes on your command line (and who does?), you can, in certain limited cases, avoid them:
The trick is that the command(s) must not contain whitespace. Time and effort spent golfing is never wasted!c:\@Work\Perl\monks>perl -wMstrict -MCwd -le my$str=getcwd;print(qq{it +\x20is\x20now\x20$str}) it is now c:/@Work/Perl/monks
Give a man a fish: <%-{-{-{-<
In reply to Re: one liner error
by AnomalousMonk
in thread one liner error
by toohoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |