Just for clarity, the eval or did not work, so I used the following code:
eval "use MHE::$opts->{type} qw(sendHeartbeat)"; die "Couldn't load 'MHE::$opts->{type}': $@" if $@;
In reply to Re^3: Using Moo.pm and compilation errors
by walshy
in thread Using Moo.pm and compilation errors
by walshy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |