Process::Storable - Storable-based implementation of Process::Serializable
Create your package...
package MyStorable; use base qw{Process::Storable Process}; sub prepare { ... } sub run { ... } 1;
And then use it...
use MyStorable; my $process = MyStorable->new( ... ); $process->serialize( 'filename.dat' ); # and so on...
Process::Storable provides an implementation of the Process::Serializable role using the standard Storable module from the Perl core. It is not itself a subclass of Process so you will need to inherit from both Process (or a subclass) and Process::Storable if you want to make use of it.
Process::Storable
Objects that inherit from Process::Storable must follow the new, prepare, run rules of Process::Serializable.
new
prepare
run
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.
Adam Kennedy <adamk@cpan.org>
http://ali.as/
Copyright 2006 - 2011 Adam Kennedy.
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.
To install Process, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Process
CPAN shell
perl -MCPAN -e shell install Process
For more information on module installation, please visit the detailed CPAN module installation guide.