Hi,

I have a sub that returns a value and inside it runs a loop that displays 
something on the screen, say a list of numbered items. Now what I want to do is 
if the item i'm interested appears on the screen, the user can hit any key and 
the program will exit the sub and return what ever it is supposed to return.

Any idea how to accomplish that?


      

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to