Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.835 kb
package DDG::Goodie::PrivateNetwork;
# ABSTRACT: show non-Internet routable IP addresses.
use strict;
use DDG::Goodie;
triggers start => "private network", "private ip", "private networks", "private ips";
zci is_cached => 1;
zci answer_type => "private_network";
primary_example_queries 'private networks';
secondary_example_queries 'private ips';
description 'show private IP blocks';
name 'PrivateNetwork';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/PrivateNetwork.pm';
category 'cheat_sheets';
topics 'sysadmin';
attribution twitter => ['crazedpsyc', 'Michael Smith'],
cpan => ['CRZEDPSYC', 'Michael Smith'];
my $text = scalar share('private_network.txt')->slurp,
my $html = scalar share('private_network.html')->slurp;
handle sub {
$text, html => $html
};
1;
Jump to Line
Something went wrong with that request. Please try again.