in reply to helping along $_
Hmm, interesting. Not sure how useful that really is, but here are some ideas to extend it.
- useless use of constant in void context
becomes assignment. So...
10; #is equivalent to $_=10;
- Add support for some of the perl6 operators such as //=
- UPDATE: An example script using this,
which is an interactive calculator.
> 22/7; < 3.14285714285714 > *=9**2; < 254.571428571429
perl -pew "s/\b;([mnst])/'$1/g"