testing module loading output and testing under the debugger

2006-12-17 Thread Nadim Khemir
Hi, I'm writing a module to help debug application. I have used it in PBS for a while and I wanted to rewrite it right with tests and all. = 1 = The first problem I have is capturing the module output when it is loaded. I tried: my $capture ; BEGIN { $capture =

Re: testing module loading output and testing under the debugger

2006-12-17 Thread Adrian Howard
On 17 Dec 2006, at 20:46, Nadim Khemir wrote: [snip] The first problem I have is capturing the module output when it is loaded. I tried: [snip] You might want to look at Test::Output for this. [snip] I will also have a bunch of tests that need to be run under the debugger. [snip] Why?

Re: testing module loading output and testing under the debugger

2006-12-17 Thread Joshua ben Jore
On 12/17/06, Nadim Khemir [EMAIL PROTECTED] wrote: I will also have a bunch of tests that need to be run under the debugger. I will use Devel::ebug as it is the only way to control the debugger. There are tests in the ebug distribution that I might be able to copy but I would also like to try

Re: Measuring Complexity (was Re: Perl::Metrics::Simple 0.30)

2006-12-17 Thread Randy W. Sims
Matisse Enzer wrote: On Dec 15, 2006, at 10:13 PM, Chris Dolan wrote: OK, I see. Perhaps I was distracted from your main point by mention of cyclomatic complexity, which has a rather specific definition. Mea culpa. In the next release I will change the documentation for