NAME
Process::Storable - Process object that is compatible with Storable
SYNOPSIS
packate MyStorableProcess;
use base 'Process::Storable',
'Process';
sub prepare {
...
}
sub run {
...
}
1;
DESCRIPTION
Process::Storable
provides the base for objects that can be stored, or transported from place to place. It is not itself a subclass of Process so you will need to inherit from both.
Objects that inherit from Process::Storable
must follow the new
, prepare
, run
rules much more strictly.
All platform-specific resource checking and binding must be done in prepare
, so that after new
(but before prepare
) the object can be stored via Storable and later thawed, prepare
'ed and run
, then stored via Storable
again after completion.
Process::Storable
is subclass (for now) of Process.
METHODS
There is no change from the base Process
class.
SUPPORT
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Process
For other issues, contact the author.
AUTHOR
Adam Kennedy <cpan@ali.as>, http://ali.as/
COPYRIGHT
Copyright 2006 Adam Kennedy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.