Adam Kennedy > Process-0.30 > Process::Storable

Download:
Process-0.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.30   Source  

NAME ^

Process::Storable - Storable-based implementation of Process::Serializable

SYNOPSIS ^

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...

DESCRIPTION ^

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.

Objects that inherit from Process::Storable must follow the new, prepare, run rules of Process::Serializable.

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 <adamk@cpan.org>

SEE ALSO ^

http://ali.as/

COPYRIGHT ^

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.

syntax highlighting: