No idea what your context is, but just to replace a number higher than 10 by 'm', lower or equal by 'n', what's wrong with this?:
$_=$_>10?'m':n;In reply to Re: Escape Quote-Like Operators
by Not_a_Number
in thread Escape Quote-Like Operators
by MentalAbsence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |