[Bioperl-l] Philosophy, BioPerl Object Creation

Matthew Pocock matthew_pocock at yahoo.co.uk
Thu Mar 27 11:32:57 EST 2003


> argument list intact. Also, parameters may be used
> in more than one 
> level in the hierarchy.
> 
> 	-hilmar

That seems a little rude. Can we get around this a bit
by accessing the parameter via an accessor? e.g.

my $self = my_super->new(@_);
// pigColor was an argument but I need to know it to
// set myself up - use an accessor
my $pigColor = $self->pigColor();

Matthew

> -- 
>
-------------------------------------------------------------
> Hilmar Lapp                            email: lapp
> at gnf.org
> GNF, San Diego, Ca. 92121              phone:
> +1-858-812-1757
>
-------------------------------------------------------------
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


More information about the Bioperl-l mailing list