Did you try running that? Perhaps you meant the pseudo-code reverse; chop; reverse; which spelled out in Perl would be $_ = reverse; chop; $_ = reverse;?
If not, I don't understand how you'd expect chop reverse; reverse; to do anything useful.
ihb
Read argumentation in its context!
In reply to Re^2: howto strip the first char of a string?
by ihb
in thread howto strip the first char of a string?
by valentin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |