title: Can't locate Net/IP.pm
body: <p>I've successfully installed <code>NetAddr</code> via this: <code>cpan -i NetAddr::DNS</code></p>
  
  <p>Now I'm trying to launch this basic program:</p>
  
  <pre><code>use Net::IP;
  
  my $ip = new Net::IP ('193.0.1/24') or die (Net::IP::Error());
  print ("IP  : ".$ip-&gt;ip()."\n");
  print ("Sho : ".$ip-&gt;short()."\n");
  print ("Bin : ".$ip-&gt;binip()."\n");
  print ("Int : ".$ip-&gt;intip()."\n");
  print ("Mask: ".$ip-&gt;mask()."\n");
  print ("Last: ".$ip-&gt;last_ip()."\n");
  print ("Len : ".$ip-&gt;prefixlen()."\n");
  print ("Size: ".$ip-&gt;size()."\n");
  print ("Type: ".$ip-&gt;iptype()."\n");
  print ("Rev:  ".$ip-&gt;reverse_ip()."\n");
  </code></pre>
  
  <p>But I get:</p>
  
  <pre><code>rr@sd-562 # perl tmp.pl
  Can't locate Net/IP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at tmp.pl line 1.
  BEGIN failed--compilation aborted at tmp.pl line 1.
  rr@sd-562 # updatedb
  rr@sd-562 # locate IP.pm
  /root/.cpan/build/NetAddr-IP-4.071-YZOO46/IP.pm
  /root/.cpan/build/NetAddr-IP-4.071-YZOO46/blib/lib/NetAddr/IP.pm
  /usr/local/lib/perl/5.14.2/NetAddr/IP.pm
  </code></pre>
  
  <p>And I haven't found something valuable on the Web.</p>