jberger / Mojo-IOLoop-ForkCall

Deprecated! Use Mojo::IOLoop::Subprocess instead
https://mojolicious.org/perldoc/Mojo/IOLoop/Subprocess
5 stars 2 forks source link

->new is not exported by the Mojo::IOLoop::ForkCall module #15

Closed ghost closed 6 years ago

ghost commented 6 years ago

Installed via CPAN on Debian Stretch, having the code:

use Mojo::IOLoop;
use Mojo::IOLoop::ForkCall
my $fc = Mojo::IOLoop::ForkCall->new;

results into the following error:

"Mojo::IOLoop::ForkCall=HASH(0x55f49a250e18)" is not exported by the Mojo::IOLoop::ForkCall module Can't continue after import errors at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3.

`

jberger commented 6 years ago

You are missing a semicolon on the second line.