Make sure you're using it in scalar context though if you want to reverse a string. See. the reverse docs for more info.my $str = reverse 'a string'; print $str; __output__ gnirts a
_________
broquaint
In reply to Re: regex to reverse string
by broquaint
in thread regex to reverse string
by jai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |