http://www.perlmonks.org?node_id=815494


in reply to $SIG{ALRM} and windows vista?

I think you forgot to tell us what the problem is...

Your line print 'Enter your password: '; won't appear unless you've disabled buffering or you begin reading from STDIN... If that is your problem then set $| = 1

Updated: Thanks ikegami.

Replies are listed 'Best First'.
Re^2: $SIG{ALRM} and windows vista?
by ikegami (Patriarch) on Jan 04, 2010 at 06:57 UTC
    Not so. Reading from STDIN flushes STDOUT.