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
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;
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
* 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" );
>
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