|
I love this module but... After struggling with varions regex to determine if I had a number this is very refreshing. Of course I am a rookie, so this is obvious to everyone but me, but the thing is really chatty.
It outputs to the screen the result of every compare (I have thousands). It also sends warnings that a test failed (in my case it isn't a number). It also tells me if I have more or less than the predicted number of tests. All this slows it down.
I have no idea what the $name variable is used for in the documentation and that could be part of the problem. It works, this is a simplified version of what I have.
use Test::Numeric tests => 50000;
if ( is_number $this_element ) {
$this_is_a_data_line = 1;
}
Sorry, I am a real rookie.
|