Bio-MAGE-Utils
view release on metacpan or search on metacpan
MAGE/XML/Writer.pm view on Meta::CPAN
}
sub external_file_id {
my $self = shift;
my $num = $self->external_data();
$num++;
$self->external_data($num);
return "external-data-$num.txt";
}
sub write_bio_data_tuples() {
my ($self,$obj) = @_;
# has no attributes
# the tag name is the name of the class
my $tag = $obj->class_name();
$tag =~ s/.+:://;
$self->write_start_tag($tag,my $empty = 0);
# make the data structure
( run in 1.050 second using v1.01-cache-2.11-cpan-65fba6d93b7 )