[Pdx-pm] Test::Builder calling convention
David E. Wheeler
david at kineticode.com
Mon Mar 16 16:14:55 PDT 2009
On Mar 16, 2009, at 1:42 PM, Michael G Schwern wrote:
> #1 and #2 are both done as methods on the result object. $ok-
> >diag([ have =>
> ...]); or $ok->diag($message); It's probably best to split those
> into two
> methods so there's your diag() and your err().
+1
> #3 is called on the Builder object. $Builder->diag($message) or maybe
> $Builder->err($message).
Well if there are three, they should perhaps be three different
methods. How about huh() for this one. ;-)
David
More information about the Pdx-pm-list
mailing list