Subject: | Missing use Exporter |
When I run the following script (Ubuntu, perl version 5.26):
use strict;
use warnings;
use Binutils::Objdump;
print "Version: ", $Binutils::Objdump::VERSION, "\n";
objdumpopt('-t');
I get output:
Version: 0.1.2
Undefined subroutine &main::objdumpopt called at ./p.pl line 5.
After checking out the source code at:
https://metacpan.org/source/PEARL/Binutils-Objdump-0.1.2/lib/Binutils/Objdump.pm
I think the problem might be a missing "use Exporter qw(import);" statement..
Best regards,
Håkon Hægland