[Bioperl-l] passing HTML code to start_report (HTMLResultWriter.pm)

Charles Hauser chauser at duke.edu
Tue Mar 9 10:52:44 EST 2004


Looking at HTMLResultWriter.pm it looks as though I can specify pass
info I want to appear in the <head> by:

    my $processor = new Bio::SearchIO::Writer::HTMLResultWriter(@args);

sub my_start_report {
    my ($result) = @_;
    return sprintf(
      <HEAD><CENTER><TITLE> whatever </TITLE></CENTER></HEAD>

If I try this I get back the html returned from the method 'default_start_report'???
Specifically I want to add some js links(head) and a logo(body) to the HTML report for blast.


More information about the Bioperl-l mailing list