Event::ScreenSaver

Provides the ability to hook functions to the starting and stopping of the screen saver
Download

Event::ScreenSaver Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ivan Wills
  • Publisher web site:

Event::ScreenSaver Tags


Event::ScreenSaver Description

Provides the ability to hook functions to the starting and stopping of the screen saver Event::ScreenSaver is a Perl module that will try to load the most appropriate class for monitoring the starting and stopping of the screen saver. Currently that means the Unix module os it probably wont work that broadly.SYNOPSIS use Event::ScreenSaver; # create the screen saver object my $ss = Event::ScreenSaver->new(); # add functions to events $ss->start( sub {print "The screen saver started " } ); $ss->stop( sub { print "The screen saver stopped " } ); # run the event handler $ss->run(); # or more simply Event::ScreenSaver->new( start => sub {say "Screen saver started"}, stop => sub {say "Screen saver stopped"}, )->run; Requirements: · Perl


Event::ScreenSaver Related Software