in reply to Re^2: Failed test of Net::SNTP::Client module
in thread Failed test of Net::SNTP::Client module

Indeed, it was the correct fix. The test itself was faulty in this case. I do see now that you were using the script name as a key in the hash ($0 => {), so from the module's perspective when running the tests within the root dir, it would for certain have the t/ prepended to it.

Replies are listed 'Best First'.
Re^4: Failed test of Net::SNTP::Client module
by thanos1983 (Parson) on Jul 06, 2015 at 14:53 UTC

    OMG!!!!! You right!!!!! I completely ignored this factor. I assumed since I am executing the script from inside the directory why not working outside of the directory. Stupidity... :P

    Thanks again it makes absolute sense.

    Seeking for Perl wisdom...on the process of learning...not there...yet!