my ($char) = unpack sprintf("x%d A", length($string)-1), $string;
Makeshifts last the longest.
In reply to Re^2: How do I capture the last character in a string?
by Aristotle
in thread How do I capture the last character in a string?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |