Hello and thanks for reply, I tried all you adviced but nothing helped yet...
my $filename = '/opt/netdb/netmacvendor/oui.txt'; open my $fh, '<', $filename or die "Couldn't read $filename: $!";
This outputs nothing :(
use URI::file; print URI::file->new('/opt/netdb/netmacvendor/oui.txt');
And this outputs three slashes: file:///opt/netdb/netmacvendor/oui.txt
So I put file:///opt/netdb/netmacvendor/oui.txt in the code, bud error persists :(
#!/usr/bin/perl use strict; use Net::MAC::Vendor; use URI::file; print URI::file->new('/opt/netdb/netmacvendor/oui.txt'); Net::MAC::Vendor::load_cache("file:///opt/netdb/netmacvendor/oui.txt") +; my $filename = '/opt/netdb/netmacvendor/oui.txt'; open my $fh, '<', $filename or die "Couldn't read $filename: $!";
This outputs same error: Net::Mac::Vendor cache source [file:///opt/netdb/netmacvendor/oui.txt] does not exist at ./net-mac-vendor-test.pl line 7.
In reply to Re^2: NetDB - Problem with perl module NET:MAC:Vendors
by Vict0rC
in thread NetDB - Problem with perl module NET:MAC:Vendors
by Vict0rC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |