Bioperl: Exception:: stuff

Steve A. Chervitz sac@alberich.Stanford.EDU
Mon, 13 Jul 1998 19:53:28 -0700 (PDT)


I haven't used Graham Barr's Exception module (actually called Error.pm) 
but I intend to check it out and encourage others to as well. It is 
available from your favorite CPAN mirror such as: 
http://www.cpan.org/authors/id/GBARR/ 

I've noted that the COPE project uses Torsten Ekedahl's 
Experimental::Exception.pm module: 
http://www.lunatech.com/research/corba/cope/dist/
ftp://ftp.matematik.su.se/pub/teke/

Torsten's module contains some C glue whereas Graham's does not. 
I don't know why COPE chose Experimental::Exception.pm over  
Error.pm. Could have been historical.

I think it would be great if Bioperl adopted a standard exception 
handling mechanism but I worry about requiring additional modules that 
are not part of the Perl source distribution since it would make Bioperl 
modules harder to install/use if you also need to install external modules 
and to learn their interfaces. However, exception handling is such an 
important issue that it may be worth it. 

I've heard that the Perl 5.005 release may include Graham's Exception 
module but I don't know if this is still true.

Steve Chervitz
sac@genome.stanford.edu
http://genome-www.stanford.edu/~sac/


On Sat, 11 Jul 1998, Ewan Birney wrote:

> 
> Re: Exceptions - should we try to use Graham Barr's Exception
> package? 'officially' it is in alpha and expermential but
> it seems (from browsing through p5p mailing archive) like people
> are going to adopt it (or something similar) as the standard.
> 
> Has anyone used it? I haven't...
> 
> 
> Ewan Birney
> <birney@sanger.ac.uk>
> http://www.sanger.ac.uk/Users/birney/
> 
> =========== Bioperl Project Mailing List Message Footer =======
> Project URL: http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/
> For info about how to (un)subscribe, where messages are archived, etc:
> http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
> ====================================================================
> 

=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================