develooper Front page | perl.qa | Postings from July 2005

Re: [ANNOUNCE] Test::Simple/More/Builder 0.60_01

Thread Previous | Thread Next
From:
Peter
Date:
July 28, 2005 14:50
Subject:
Re: [ANNOUNCE] Test::Simple/More/Builder 0.60_01
Message ID:
20050728215044.29644.qmail@lists.develooper.com
Michael G Schwern wrote:
> 
> * Added the long delayed BAIL_OUT to Test::More.
> 

So, the way I would go about using this would be something like this?

my $obj=new SomeObj();
isa($obj, "SomeObj") or BAIL_OUT("It wasn't my object :(");

--Peter

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About