If you can do this:
perl -Mutf8 -wle 'use constant π=>3.141;use overload "sqrt"=>\&sr;sub sr{sqrt shift}print sr π'
1.77228665852903
This seems reasonable:
perl -Mutf8 -wle 'use constant π=>3.141;use overload "sqrt"=>\&√;sub √{sqrt shift}print √π'
Unrecognized character \x{221a}
In reply to Re^6: Unicode infinity
by Anonymous Monk
in thread Unicode infinity
by NERDVANA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |