You are welcome. Here is the output of your test t/00-load.t when it failed because my network router was rebooting when I ran it:

[12:48][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ perl -T t/00- +load.t ok 1 - use Net::SNTP::Client; # Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per +lbrew/perls/perl-5.16.0/bin/perl ok 2 - Module Hash Input Works ok 3 - Hostname Must be Defined ok 4 - Port Has to be Defined and Integer ok 5 - Got Hash Output not ok 6 - Module Hash Keys are Identical # Failed test 'Module Hash Keys are Identical' # at t/00-load.t line 97. # Structures begin differing at: # $got->[0] = '-hostname' # $expected->[0] = '0.pool.ntp.org' not ok 7 - Exptected Output From the Module Received # Failed test 'Exptected Output From the Module Received' # at t/00-load.t line 99. # Comparing hash keys of $data # Missing: '0.pool.ntp.org', 'RFC4330', 't/00-load.t' # Extra: '-hostname', '-port' ok 8 - Faulty Test Extra Key ok 9 - Correct Output Error Extra Hash Key ok 10 - Faulty Test no Hostname ok 11 - Correct Output Error No Hostname ok 12 - Faulty Test Negative Port Number ok 13 - Correct Output Error for Negative Port Number ok 14 - Faulty Test Out of Range Port Number ok 15 - Correct Output Error Out of Range Port Number 1..15 # Looks like you failed 2 tests of 15.

Here is the output when I ran it with net connection:

[12:51][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ perl -T t/00- +load.t ok 1 - use Net::SNTP::Client; # Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per +lbrew/perls/perl-5.16.0/bin/perl ok 2 - Module Hash Input Works ok 3 - Hostname Must be Defined ok 4 - Port Has to be Defined and Integer ok 5 - Got Hash Output ok 6 - Module Hash Keys are Identical ok 7 - Exptected Output From the Module Received ok 8 - Faulty Test Extra Key ok 9 - Correct Output Error Extra Hash Key ok 10 - Faulty Test no Hostname ok 11 - Correct Output Error No Hostname ok 12 - Faulty Test Negative Port Number ok 13 - Correct Output Error for Negative Port Number ok 14 - Faulty Test Out of Range Port Number ok 15 - Correct Output Error Out of Range Port Number 1..15
and
[12:51][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ make test TES +T_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/nick/perl5/perlbrew/perls/perl-5.16.0/bin/pe +rl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Ha +rness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... ok 1 - use Net::SNTP::Client; # Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per +lbrew/perls/perl-5.16.0/bin/perl ok 2 - Module Hash Input Works ok 3 - Hostname Must be Defined ok 4 - Port Has to be Defined and Integer ok 5 - Got Hash Output ok 6 - Module Hash Keys are Identical ok 7 - Exptected Output From the Module Received ok 8 - Faulty Test Extra Key ok 9 - Correct Output Error Extra Hash Key ok 10 - Faulty Test no Hostname ok 11 - Correct Output Error No Hostname ok 12 - Faulty Test Negative Port Number ok 13 - Correct Output Error for Negative Port Number ok 14 - Faulty Test Out of Range Port Number ok 15 - Correct Output Error Out of Range Port Number 1..15 ok t/manifest.t ...... 1..0 # SKIP Author tests not required for installation skipped: Author tests not required for installation t/pod-coverage.t .. 1..0 # SKIP Author tests not required for installation skipped: Author tests not required for installation t/pod.t ........... 1..0 # SKIP Author tests not required for installation skipped: Author tests not required for installation All tests successful. Files=4, Tests=15, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.15 cusr + 0.03 csys = 0.23 CPU) Result: PASS
Remember: Ne dederis in spiritu molere illegitimi!

In reply to Re^3: Tests were run but no plan was declared and done_testing() was not seen. by 1nickt
in thread Tests were run but no plan was declared and done_testing() was not seen. by thanos1983

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.