Process::YAML - The Process::Serializable role implemented by YAML
package MyYAMLProcess; use base 'Process::YAML', 'Process'; sub prepare { ... } sub run { ... } 1;
Process::YAML provides an implementation of the Process::Serializable role using the YAML::Syck module from CPAN. It is not itself a subclass of Process so you will need to inherit from both.
Process::YAML
Objects that inherit from Process::YAML must follow the new, prepare, run rules of Process::Serializable.
new
prepare
run
YAML::Syck was chosen over YAML because YAML::Syck is much faster. Furthermore, YAML uses Spiffy which I could not get to play well with the inheritance scheme of the Process framework at the time (Spiffy 0.26). By now, Brian Ingerson has released a fixed version of Spiffy (0.27), so YAML 0.52 and higher is compatible with Process::YAML.
YAML
Using this class as an additional base class for your Process based classes will add two methods to your class as defined by the Process::Serializable documentation. Please refer to that module for a description of the interface.
Process
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Process-YAML
For other issues, contact the author.
Steffen Mueller <modules at steffen-mueller dot net>, http://steffen-mueller.net/
Copyright 2006 Steffen Mueller. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Process::YAML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Process::YAML
CPAN shell
perl -MCPAN -e shell install Process::YAML
For more information on module installation, please visit the detailed CPAN module installation guide.