Absolutely. That's the tricky part. ;-) It will work when $_ is undefined, but not otherwise. Of course, you could always change it to s/.*/$$s/, but still not advisable. More of an obfu trick...
In reply to Re^3: when $$s =~ m/\G.../gc is too verbose
by radiantmatrix
in thread when $$s =~ m/\G.../gc is too verbose
by stefp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |