Why not use -p flag too, and have it do the reading and printing?
(works in a file, -e has issues under Windows)perl -lpe"$_=eval"
In reply to Re: Re: Small Calculator!
by John M. Dlugosz
in thread Small Calculator!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |