10 Oct 23:16
Re: bioperl.lisp, bioperl-object-start, use, and use base?
From: Chris Fields <cjfields <at> illinois.edu>
Subject: Re: bioperl.lisp, bioperl-object-start, use, and use base?
Newsgroups: gmane.comp.lang.perl.bio.general
Date: 2008-10-10 21:16:48 GMT
Subject: Re: bioperl.lisp, bioperl-object-start, use, and use base?
Newsgroups: gmane.comp.lang.perl.bio.general
Date: 2008-10-10 21:16:48 GMT
No, it shouldn't be necessary. "use 'Foo'" is the same as:
BEGIN {
require Foo;
}
... and "use base 'Foo'" is the same as:
BEGIN {
require Foo;
push @ISA, 'Foo';
}
chris
On Oct 10, 2008, at 3:57 PM, George Hartzell wrote:
>
> Why does the template provided by bioperl-object-start both
>
> use Bio::Root::Root;
>
> and
>
> use base qw(Bio::Root::Root);
>
> Is the first one necessary for some reason?
>
> g.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l <at> lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
Christopher Fields
Postdoctoral Researcher
Lab of Dr. Marie-Claude Hofmann
College of Veterinary Medicine
University of Illinois Urbana-Champaign
RSS Feed