[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] $1700 alarm clock



sweeeeeeeeeeeeeeeeeeeeeeeeeeeet. I wish there were more things we could simplify in this manner.

On 6/27/07, Jay Hannah < jay@jays.net> wrote:
If you're ever trapped in a random motel room in Australia somewhere
and realize at 1am that the alarm clock is broken you can use your
MacBook and Perl... Don't forget to disable your power save features
before you fall asleep.  :)

j


while (sleep 15) {
    my  ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime(time);
    print "$hour:$min\n";
    if ($hour == 4 and $min == 30) {
       while (1) {
          `say "wake up you lazy bastards"`;
       }
    }
}

_______________________________________________
Omaha-pm mailing list
Omaha-pm@pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm



--
Dhundy R. Bastola
Assistant Professor
Department of Pediatrics
University of Nebraska Medical Center
Omaha NE 68198
Always reply to: dbastola@unmc.edu