On Tue, Dec 20, 2005 at 11:28:03AM -0800, Phil Mitchell wrote:
> I want to write a little alarm script to remind myself to take breaks
> :) --- but I'm getting stuck on how to play a soundfile from within
> perl. I don't want to use the terminal bell (\A) bc I have it turned
> off in gnome, bc it's annoying. I've poked around on cpan, but
> everything looks geared up for heavy sound processing, all I want to
> do is play a soundfile.

It's cheating, but you could always shell out for the sound playing...

if ($its_time) {
  system("/usr/bin/aplay $sound");
}

-- 
Dan Boger
[EMAIL PROTECTED]
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to