Zing::File - Supervision Tree Generator
Zing Supervision Tree Generator
use Zing::File; my $file = Zing::File->new; # $file->interpret([['MyApp::Client', [], 2], ['MyApp::Server', [], 1]])
This package provides a mechnism for generating executable supervision trees.
This package uses type constraints from:
Zing::Types
This package implements the following functions:
scheme(Scheme | ArrayRef[Scheme | ArrayRef] $expr) : Scheme
The scheme function converts the expression provided, which itself is either a scheme or a list of schemes (which can be nested), to a scheme representing a supervision tree with Zing::Ringer and Zing::Watcher processes.
use Zing::File 'scheme'; scheme([['MyApp::Client', [], 2], ['MyApp::Server', [], 1]]);
This package implements the following methods:
interpret(Scheme | ArrayRef[Scheme | ArrayRef] $expr) : Scheme
The interpret method passes the expression provided to the "scheme" function to generate a scheme.
# given: synopsis $file->interpret([['MyApp::Client', [], 2], ['MyApp::Server', [], 1]]);
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Zing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zing
CPAN shell
perl -MCPAN -e shell install Zing
For more information on module installation, please visit the detailed CPAN module installation guide.