[Bioperl-l] $id && $self->display($id)

Stefan Kirov skirov at utk.edu
Thu Mar 31 16:23:36 EST 2005


if $id is defined $self->display($id) is being evaluated, which actually 
sets the display id of $self to be $id
Stefan

Sally Li wrote:

>Hi, there,
>
>I wonder what does it means in the following
>statement?
>
>$id && $self->display($id)
>
>This is from the constructor (new ()) of object
>PrimarySeq.pm.
>
>Thanks!
>
>Sally.
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Small Business - Try our new resources site!
>http://smallbusiness.yahoo.com/resources/ 
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
>http://portal.open-bio.org/mailman/listinfo/bioperl-l
>  
>



More information about the Bioperl-l mailing list