in reply to NetDB - Problem with perl module NET:MAC:Vendors
Maybe try the following first:
my $filename = '/opt/netdb/netmacvendor/oui.txt'; open my $fh, '<', $filename or die "Couldn't read $filename: $!";
Also, file:// URIs are somewhat underspecified. Sometimes I've experienced needing three slashes for the path:
file:///opt/netdb/netmacvendor/oui.txt
... and sometimes only one:
file:/opt/netdb/netmacvendor/oui.txt
If you have URI::file installed (likely), you can test what you really need:
use URI::file; print URI::file->new('/opt/netdb/netmacvendor/oui.txt');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: NetDB - Problem with perl module NET:MAC:Vendors
by Vict0rC (Initiate) on Oct 12, 2015 at 19:08 UTC | |
by Corion (Patriarch) on Oct 12, 2015 at 19:17 UTC | |
by Vict0rC (Initiate) on Oct 12, 2015 at 19:58 UTC | |
by Vict0rC (Initiate) on Oct 14, 2015 at 19:50 UTC |