[Bioperl-l] bioperl.lisp, bioperl-object-start, use, and use base?

Chris Fields cjfields at illinois.edu
Fri Oct 10 21:16:48 UTC 2008


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







More information about the Bioperl-l mailing list