MEAD

Summary

Included libraries Package variables General documentation Methods

Package variables top
No package variables defined.
Included modulestop
strict
Inherit top
Exporter
Synopsistop
No synopsis!
Descriptiontop
No description!
Methodstop
write_summaryNo descriptionCode

Methods description


Methods code

write_summarydescriptiontopprevnext
sub write_summary {
    my $summary = shift;
    my $destination = shift ||\* STDOUT;

    unless (ref $destination) {
	unless (open TEMP, ">$destination") {
	    die "Unable to open $destination for writing.\n";
	}
	$destination =\* TEMP;
    }

    foreach my $order (sort {$a <=> $b} (keys %{$summary})) {
        my $sentref = $$summary{$order};
        print $destination "[$order]  $$sentref{'TEXT'}\n";
    }
}

General documentation

No general documentation available.