Device-OUI
view release on metacpan or search on metacpan
downloaded from the internet, or where the file can be found if you are
downloading it by some other means.
The default is "C:\device_oui.txt" on windows, and
"/var/cache/device_oui.txt" on everything else. Set this to undef to
disable the cache file. ("Device::OUI->cache_file( undef )").
Device::OUI->search_url( $url )
The URL for the OUI search page. Normally you don't need to change this,
but it is provided as a configuration option in case the page is
relocated. You can also set this to undef to disable runtime searches.
This value is used by /search_url_for to create a search url for a
specific OUI. The default implementation allows you to include a '%s'
token in the URL, in which case the URL will be formatted with
perlfunc/sprintf, using the OUI as an argument. If the url provided does
not contain a '%s' token, then the OUI will simply be appended to the
end (in which case, the URL provided should probably end with something
like: "?arg=").
Device::OUI->file_url( $url );
lib/Device/OUI.pm view on Meta::CPAN
from the internet, or where the file can be found if you are downloading it
by some other means.
The default is C<C:\device_oui.txt> on windows, and
C</var/cache/device_oui.txt> on everything else. Set this to undef to
disable the cache file. (C<< Device::OUI->cache_file( undef ) >>).
=head2 Device::OUI->search_url( $url )
The URL for the OUI search page. Normally you don't need to change this,
but it is provided as a configuration option in case the page is relocated.
You can also set this to undef to disable runtime searches.
This value is used by L</search_url_for|search_url_for> to create a search
url for a specific OUI. The default implementation allows you to include
a '%s' token in the URL, in which case the URL will be formatted with
L<perlfunc/sprintf|sprintf>, using the OUI as an argument. If the url
provided does not contain a '%s' token, then the OUI will simply be appended
to the end (in which case, the URL provided should probably end with
something like: C<?arg=>).
( run in 0.946 second using v1.01-cache-2.11-cpan-5511b514fd6 )