Just a hint...

From 200_ping_tcp.t in the package:

# Hopefully this is never a routeable host is($p->ping("172.29.249.249"), 0, "Can't reach 172.29.249.249"

You get:

t/200_ping_tcp.t ..... 1/13 # Failed test 'Can't reach 172.29.249.249' # at t/200_ping_tcp.t line 48. # got: '1' # expected: '0'

From the Test::More manpage:

# Is the ultimate answer 42? is( ultimate_answer(), 42, "Meaning of Life" );

From the Net::Ping manpage:

$p->ping($host [, $timeout]); Ping the remote host and wait for a response....the success flag will +be 1 if the host is reachable and 0 if it is not...

Force install and regards, Karl

«The Crux of the Biscuit is the Apostrophe»


In reply to Re: Problem Installing Net::Ping by karlgoethebier
in thread Problem Installing Net::Ping by AlbertoPaez

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.