GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Plagger::Plugin::Notify::Eject(3) User Contributed Perl Documentation Plagger::Plugin::Notify::Eject(3)

Plagger::Plugin::Notify::Eject - Notify feed updates to CD Drive

  - module: Notify::Eject

This class ejects the CD each time a notification is triggered.

This class relies on helper classes for the functionality for the particular operating system you are working on. Provided in the main Plagger distribution are helper classes for Linux, FreeBSD, Microsoft Windows (MSWin32) and Mac OS X (Darwin.)

This module relies on a helper class existing that is named after the architecture name returned in $^O.

Each module must simply subclass this module and implement the "eject" method. For example, for the hypothetical HAL2000 system:

  package Plagger::Plugin::Notify::Eject::hal2000;
  use base qw( Plagger::Plugin::Notify::Eject );

  sub eject {
     system("eject_the_cd_bay_doors_hal");
  }
  
  1;

Kazuhiro Osawa

Plagger, Plagger::Plugin::Notify::Eject::linux, Plagger::Plugin::Notify::Eject::freebsd, Plagger::Plugin::Notify::Eject::mswin32, Plagger::Plugin::Notify::Eject::darwin
2006-12-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.