in reply to Re: Test::Simple problem
in thread Test::Simple problem

Out of curiosity I wanted to see what these modules were all about (Never used the test modules before). Looks like this particular code should parse Simple.pm and tell us if "VERSION" was in the code. I copy/pasted the code and the following error appeared running just one test iteration:
1..1
not ok 1 - VERSION test for Simplepm
#     Failed test (./test at line 7)
# Did not find Simplepm
# Looks like you failed 1 tests of 1.
I was able to fix it with the following:
#!/usr/bin/perl + use Test::Version; + use Test::Simple tests => 1; $file="Simple.pm"; version_ok( $file );
What's interesting here is I didn't receive any message that VERSION was found in Simple.pm.
1..1
not ok 1 - VERSION test for Simple.pm
#     Failed test (./test at line 7)
# Found no VERSION in Simple.pm
# Looks like you failed 1 tests of 1.
Am I on the right track or did I miss something? Hoping to understand these two modules a little better :-)