gautam chaurasia wrote:

> i tired like this, so it should get list of genes from subroutine gene and
> should print all the entries of array. but it gets only a single value. could
> someone please tell me where and what am i doing wrong...
>
>                 if ($local_name eq  $qname) {
>                 return($yorf_name);

Here you just told the sub that it was done.  It returns the single value it was
instructed to.

>
>                 }
>         }
> }

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to