in reply to undefined subroutine
YAML::LoadFile is exportable, but you didn't export it.
use YAML qw(LoadFile);
or fully qualify the call:
my $config = YAML::LoadFile($fh);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: undefined subroutine
by molv (Initiate) on Apr 07, 2016 at 13:21 UTC | |
by hippo (Archbishop) on Apr 07, 2016 at 13:49 UTC | |
by Anonymous Monk on Apr 07, 2016 at 13:52 UTC | |
by molv (Initiate) on Apr 07, 2016 at 14:13 UTC | |
by Anonymous Monk on Apr 07, 2016 at 13:31 UTC | |
by molv (Initiate) on Apr 07, 2016 at 13:42 UTC |