substr($thing,-1,1) =~ tr/a-z/A-Z/;
The trick is knowing that substr can be used as an lvalue...
In reply to Re: ucfirst(uclast(lc($user))) ?
by seattlejohn
in thread ucfirst(uclast(lc($user))) ?
by nop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |