Thursday, March 1, 2007

[Perl Learning]: use single quote always

When use one-liner perl command , use single quote always. Because when you use double quote, the commands within double quote will be expanded by shell first, most of the time, that is NOT what I want. And the worst thing is it is not easy to find out sometimes. So use singel quote always.

No comments: