YAML::LoadFile is exportable, but you didn't export it.
use YAML qw(LoadFile);
or fully qualify the call:
my $config = YAML::LoadFile($fh);
In reply to Re: undefined subroutine
by pryrt
in thread undefined subroutine
by molv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |