[Bioperl-l] Bio::SearchIO::Writer::HTMLResultWriter problem

Torsten Seemann torsten.seemann at infotech.monash.edu.au
Thu Oct 25 00:20:13 EDT 2007


Simona

> So I've just copied and pasted to create my perl file.
> syntax error at searchIO.pl line 26, near "->length E"
> syntax error at searchIO.pl line 30, near "<gt"
>   sub hit_filter {
>       my $hit = shift;
>       return $hit->length E<gt> 100; # test if length of the hit sequence

You have a Perl syntax error due to cutting and pasting from code in
PerlDoc format. It should read:

  return $hit->length > 100;  # not "E<gt>

-- 
--Torsten Seemann
--Victorian Bioinformatics Consortium, Monash University
--Tel +61 3 9905 9010


More information about the Bioperl-l mailing list