LOL++ (Re: OT: It's arrived!)
Jonathan Stowe
jns at gellyfish.com
Fri Nov 9 12:22:51 GMT 2007
On Fri, 2007-11-09 at 11:30 +0000, Aaron Crane wrote:
> Jonathan Stowe writes:
> > Yes but anyone who has tried running perl one-liners more than once
> > will have been annoyed by this and would have switched off shell
> > history expansion, like, you know, years ago.
>
> I don't find that. Using shell double-quotes for Perl one-liners is
> painful, because $ is meaningful inside shell double-quotes. That's
> easily solved by using shell single-quotes -- but history expansion
> doesn't apply in shell single-quotes, so the two don't conflict.
>
Sure, if one is writing one's own , but on the flip side it is often
annoying that as a result of that you are forced to use double quotes on
strings in your one-liner (or use alternate quoting).
/J\
--
This signature kills fascists
More information about the london.pm
mailing list