in reply to What's the best way to get first character of the string?

Now, of course, some of these are more equal than others. Some are more cryptic than others. Some are also slightly more destructive than others. Take your pick. *grins*

Interestingly enough, the following does not work ...

my ($first) = reverse($string) =~ /(.)$/sm;

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.