Evo::Prm
version 0.0229
This module provides experimental pure syntax to Evo::Promise
use Evo '-Prm *; -Loop *'; sub download($url) { uc $url } my $p = prm { then { promise_all me => download('http://alexbyk.com'), g => download('http://google.com'); }; spread sub(%results) { say $results{me}; say $results{g}; return $results{me} . $results{g}; }; catch sub($e) { }; }; $p->then(sub($v) { say $v }); loop_start;
alexbyk.com
This software is copyright (c) 2016 by alexbyk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Evo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Evo
CPAN shell
perl -MCPAN -e shell install Evo
For more information on module installation, please visit the detailed CPAN module installation guide.