Acme-Fork-Lazy
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
# Whether or not inc::Module::Install is actually loaded, the
# $INC{inc/Module/Install.pm} is what will still get set as long as
# the caller loaded module this in the documented manner.
# If not set, the caller may NOT have loaded the bundled version, and thus
# they may not have a MI version that works with the Makefile.PL. This would
# result in false errors or unexpected behaviour. And we don't want that.
my $file = join( '/', 'inc', split /::/, __PACKAGE__ ) . '.pm';
unless ( $INC{$file} ) { die <<"END_DIE" }
Please invoke ${\__PACKAGE__} with:
use inc::${\__PACKAGE__};
not:
use ${\__PACKAGE__};
lib/Acme/Fork/Lazy.pm view on Meta::CPAN
The Lazy modules (see L</SEE ALSO>) are all currently broken in various
exciting ways. So you may find that certain uses (like using L<Data::Dumper>
to output the result) won't trigger forcing the lazy result, and so on.
=item *
Only scalar values may be returned by a C<forked> block.
=item *
No attempt is made to handle failure: timeouts/retry/error etc.
=item *
The client has to manually call C<wait_kids> in END to make sure all kids
exited cleanly.
=back
Suggestions and patches for any of the above are very welcome (as well as new
bug reports!)
( run in 0.449 second using v1.01-cache-2.11-cpan-65fba6d93b7 )