Re: Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
On Thu, Mar 15, 2001 at 12:54:34AM +, Michael G Schwern wrote: > Another possibility... use a local __DIE__ handler inside the skip() > to trap and ignore dies. We'd have to be careful not to screw up eval > and $@ in the code we're testing (using $^S), but it will mess up any > code that rel

Re: Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
On Thu, Mar 15, 2001 at 12:40:22PM +0100, Peter Andreasen wrote: > > skip { > > ok( head("http://www.foo.com"), "www.foo.com is alive" ); > > ok( head("http://www.foo.com/bar"), " and has bar" ); > > } "LWP::Simple not installed", > > !eval { require LWP::Simple;

Aegis

2001-03-15 Thread Michael G Schwern
I've forwarded this ramble onto perl-qa. Seems relevant. One of our goals is to work on the change and review process of Perl and Aegis is a good place to learn from other's mistakes, err, successes. ;) FYI Aegis is a Free CASE tool (automated, enforced change, review and testing) which help co

Re: Stuck on Testing::skip()

2001-03-15 Thread Peter Andreasen
* Michael G Schwern ([EMAIL PROTECTED]) [2001-03-15 12:18]: > I'm writing up the new Testing.pm docs and ran into a snag. Its with > this: > > skip { > ok( head("http://www.foo.com"), "www.foo.com is alive" ); > ok( head("http://www.foo.com/bar"), " and has bar" ); >

Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
I'm writing up the new Testing.pm docs and ran into a snag. Its with this: skip { ok( head("http://www.foo.com"), "www.foo.com is alive" ); ok( head("http://www.foo.com/bar"), " and has bar" ); } "LWP::Simple not installed", !eval { require LWP::Simple; LWP::Sim