stag-join.pl(1) - Linux man page

Name

stag-join.pl - joins two stag files together based around common key

Synopsis

stag-join.pl  -w xml country/city_id=capital/capital_id countries.xml capitals.xml

stag-join.pl  -w itext gene/tax_id=species/tax_id genedb.itext speciesdb.itext

Description

Performs a relational-style INNER JOIN between two stag trees; this effectively merges two files together, based on some kind of ID in the file

Arguments

-p|parser FORMAT

FORMAT is one of xml, sxpr or itext, or the name of a perl module

xml assumed as default

-w|writer FORMAT
FORMAT is one of xml, sxpr or itext, or the name of a perl module

Limitations

currently not event based, so may not be memory efficicent. could be easily rewritten to be event based

See Also

Data::Stag

This script is a wrapper for the method

Data::Stag->ijoin()

Pod Errors

Hey! The above document had some coding errors, which are explained below:

Around line 108:
'=item' outside of any '=over'
Around line 118:
You forgot a '=back' before '=head1'