On Mon, Jul 15, 2002 at 10:38:36AM -0700, Max Clark wrote: > Hi. > > I'm looking for a way to run an operation (like a while (<>) loop for > example) until the user presses "ctrl-c". Except instead of ending the perl > script I want to trap the "ctrl-c" and present the user a menu of options. > > Is this possible?
Yes. perldoc perlipc and look at the Signals section at the top. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]