http://www.perlmonks.org?node_id=196091


in reply to helping along $_

Hmm, interesting. Not sure how useful that really is, but here are some ideas to extend it.
  1. useless use of constant in void context becomes assignment. So...
    10; #is equivalent to $_=10;
  2. Add support for some of the perl6 operators such as //=
  3. 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"