Think about Loose Coupling | |
PerlMonks |
Re: Info about Test::Harnessby leriksen (Curate) |
on Mar 28, 2008 at 02:17 UTC ( [id://676893]=note: print w/replies, xml ) | Need Help?? |
Because execute_tests returns a list of two items, you end up assigning the fail results to $total (the last thing in the list - lookup "list assignment in a scalar context" and "comma operator" to find out why).
If you want the totals hash ref, do this
...reality must take precedence over public relations, for nature cannot be fooled. - R P Feynmann
In Section
Seekers of Perl Wisdom
|
|