On Sun, Dec 31, 2006 at 12:49:41PM -0800, Joshua ben Jore wrote:
> Isn't that just a copy of a 5.8-ish perl -MO=B,undefined-subs?

It started off that way (I suspect you mean B::Lint), but my module has
one key difference. B::Lint will only walk down specific symbols you
name, meaning you have to give the name of every package, and every
function you want checking. Hard to do in an automatic testing script.
My module tests any function in any package, whose GvFILE is the file
passed on @ARGV.

> The
> 5.9.something+ versions added support for threaded perls and you might
> want to copy that too.

I already fixed the threaded-perl bug in my copy.

> There's also support for arbitrary plugins so you can write your tests
> code as a plain plugin and it gets called during the single runloop
> and you don't have to have a runloop in your tests anymore.

What do you mean there..? Perhaps an example?

Mine's as simple as

  perl -MO=LintSubs file.pm

-- 
Paul "LeoNerd" Evans

[EMAIL PROTECTED]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: Digital signature

Reply via email to