File: netspeedcell.pl

package info (click to toggle)
libgeo-ip-perl 1.51-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,000 kB
  • sloc: perl: 6,844; makefile: 3
file content (13 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/local/bin/perl

use strict;
use warnings;

use Geo::IP;

my $gi = Geo::IP->open(
    "/usr/local/share/GeoIP/GeoIPNetSpeedCell.dat",
    GEOIP_STANDARD
);

print $gi->name_by_addr("24.24.24.24"), $/;