sub rev_scalar { local $_ = shift; return if not defined; my $res = ''; $res .= chop while length; return $res; }
Makeshifts last the longest.
In reply to Re: How to reverse a string *revisited*
by Aristotle
in thread How to reverse a string *revisited*
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |