Hmm, so instead of ensuring some variables are not interpolated by replacing "$foo" with "\$foo", you instead ensure the other variables are interpolated by replacing "$bar" with "^.$bar.q^".
That doesn't seem like such a good trade to me.
Hugo
In reply to Re^2: quotes in Perl (opinionated note on coding style)
by hv
in thread quotes in Perl
by apotheon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |