And if your tests aren't going to run on systems that don't have wc:use Test::More; open my $foo, "<", "somefile.txt" or die; () = <$foo>; plan tests => 10 + $.;
{no warnings; use Test::More plan => 10 + `wc -l "somefile.txt"`}
In reply to Re^3: No plan "weakens" my Test scripts?
by Anonymous Monk
in thread No plan "weakens" my Test scripts?
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |