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.
In Section
Seekers of Perl Wisdom