$seconds = <>; print "Sleeping...\n"; sleep $seconds; # number is in seconds print "Awake!\n";