-----BEGIN PGP SIGNED MESSAGE----- Moin,
On 11-Dec-01 Kirrily Robert tried to scribble about: > In perl.qa, you wrote: >>I think I have a solution to the rigidity of is(). ie. something with >>the diagnostic output of is(), but the flexibility of ok(). > >>It all makes sense, so what I really need is a better name. > > How about: > > compare($foo, "<=", $bar) I tried to "update" my BigInt testsuite from "use Test;" to "use Test::More" or "use Test::Simple". It wasn't easy. First, ok() is no no longer ok(), but is now is(), because ok() is no longer ok to use with ok($this,$that); but is() is ok with $that. And then there is isnt(), isn't it? Not to speak of the use of can_ok(), which you can use, ok? isnt() $that ok() with you? $that should pass() ok() & be ! like() $this fail() function I've heard about. I'll better skip() some releases until it is() ok() to use Test::More without() going insane().[0] And scalar localtime() you want YetAnotherComparingFunctionThatPrintsok? *hops around like() mad and flaps his wings* > "Does anyone know my root password?" > --Renee (from the Netizen quotes file) We. But we won't tell you. ;o) Regards, Te"I'll stick to use Test; for now"ls PS: SCNR;) [0] Any more than I already am, that is(). - -- perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"' collaboratively expedite principle-centered solutions http://bloodgate.com/perl My current Perl projects PGP key available on http://bloodgate.com/tels.asc or via email -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: latin1 iQEVAwUBPCDGeXcLPEOTuEwVAQHNYgf9HdsU46rWzHLwSbThAdJQgN9TznkslpXf YN5pMdPoVJ20l3DI5HQrvN2pMQC/RIQQsmRiArCJyUItod/mf6X/FbyqxBHZwZGg JjPqgzr6WsQ1gItwoyVi3U7epra+nGKw8Ao7OOPOpganRbsuBjjVf9imGEz0GuqR 6pWGiyCCD5KePpC9nzCsUNrQM7CmOsYBQWdSAjDHYoeBsmrpSucJov/yvsJwT0XI vTmDjO/Q/OHRaj2RMfOVk+sK6awWZgfoApepSaDOf6Wa7UqtpPttOtFSNQxgDveH fhs6yyPP+e0wAKwtIUousG3+Hd2SDBk7l3En7CpS38gmR06oxDR+2g== =Dbmy -----END PGP SIGNATURE-----