in reply to Re: removing first char of string
in thread removing first char of string

You didn't actually try that, did you? :)

It won't work, and that's because chop() tries to modify its argument, i.e. it wants an lvalue. The return value of chop() returns the (last) removed value, so even if chop() could chop the reverse()-expression $string would hold the first char of itself, and the outer reverse would be useless.

ihb