# from David Wheeler
# on Thursday 20 July 2006 05:04 pm:
>t/moduleinfo......ok 1/72Operation "+": no method found,
> left argument in overloaded package Module::Build::Version,
> right argument has no overloaded magic at /usr/local/lib/
>perl5/5.8.8/Test/Builder.pm line 515.
See John's "Yet another version.pm" message from Monday:
- cmp_ok( $pm_info->version, '==', '1.23',
+ # Test::Builder will prematurely numify objects, so use this form
+ ok( $pm_info->version == '1.23',
But after looking at it again, shouldn't that be "eq"?
--Eric
--
"...the bourgeoisie were hated from both ends: by the proles, because
they had all the money, and by the intelligentsia, because of their
tendency to spend it on lawn ornaments."
--Neal Stephenson
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------