-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Nicol a écrit :
so I am closer than ever to releasing my way-cool source filter module,
which is based on Filter::Simple. Big question: how do I write the test
script?
You can use Test::Cmd on a sub-Perl. See
--- David Nicol [EMAIL PROTECTED] wrote:
so I am closer than ever to releasing my way-cool source filter
module, which is based on Filter::Simple. Big question: how do I
write the test script?
It depends upon what you're filtering. In Sub::Signatures, you can
have regular subroutine and
I've never used source filters but if Perl allows you to extract the
post-filtered source code then I'd test that with a whole bunch of
snippets. If not then I'd test the compiled code again expected
compiled code by running both through B::Deparse (or something like
it, demerphq has a module for