http://qs321.pair.com?node_id=287422


in reply to Re: Better Way to Do it 2
in thread Better Way to Do it 2

Unless I'm missing something, your solution doesn't work. You are using reverse in scalar context, which reverses the order of the string, not the order of the lines.