in reply to Re^3: What's so bad about &function(...)?
in thread What's so bad about &function(...)?

Okay... so... uh... why the heck does Test::More use prototypes anyway?

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^5: What's so bad about &function(...)?
by chromatic (Archbishop) on Dec 08, 2005 at 07:15 UTC

    To catch bad tests by being very specific about functions such as is() and like() taking two, optionally three, arguments.

Re^5: What's so bad about &function(...)?
by Ovid (Cardinal) on Dec 07, 2005 at 23:42 UTC

    Didn't write it. You'll have to ask the authors.

    However, I don't mind it. More than once it's caught me writing a bad test and I can't recall any time I've been bitten by it.

    Cheers,
    Ovid

    New address of my CGI Course.