I've got into the habit of using q{ ... } and qq{ ... } because I work in both Unix/Linux and MS Windows environments. They mean I don't have to think about the quoting conventions of the o/s when writing one-liners, which in practice tend to be several-liners.
Update: Corrected typo above, s/it //, and to clarify, I use quoting constructs everywhere, scripts and one-liners.
Cheers,
JohnGG
In reply to Re^2: declare and init a scalar
by johngg
in thread declare and init a scalar
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |