in reply to
Re: Seeking a better way to do it
in thread
Seeking a better way to do it
This works assuming OP also wants to return 'Enter'. This is left out of the requirements, but I'm not sure if it is an oversight or not.
Comment on
Re^2: Seeking a better way to do it
In Section
Seekers of Perl Wisdom