STAG-JOIN(1)
β¨ STAG-JOIN(1) β¨
okay bestie, welcome to the stag-join manual page π it's a User Contributed Perl Documentation situation, and it's lowkey iconic, so let's get into it π«Ά
πΈ NAME πΈ
stag-join β joins two stag files together based around common key β¨
π SYNOPSIS π
no cap, it's giving "just two lines and a dream":
stag-join -w xml country/city_id=capital/capital_id countries.xml capitals.xml
stag-join -w itext gene/tax_id=species/tax_id genedb.itext speciesdb.itext
π¦ DESCRIPTION π¦
so what does it do, bestie? stag-join performs a relational-style INNER JOIN between two stag trees π³π³ and fr fr, that effectively merges two files together, based on some kind of ID in the file π
it's the glow-up your two lonely data files have been waiting for. they meet. they match on ID. they become one. main character energy π
π ARGUMENTS π
-p|parser FORMATβ FORMAT is one ofxml,sxproritext, or the name of a perl module π§ and heads up:xmlis assumed as default, so if you don't say anything, xml is what you get π-w|writer FORMATβ FORMAT is one ofxml,sxproritext, or the name of a perl module β¨
ngl, the manual does not tell us a default for -w, so don't come for me β I'm just reporting what's on the page π
π LIMITATIONS π
okay so real talk, currently not event based, so it may not be memory efficicent π (that's a direct quote, typo and all, and yes I'm obsessed with it). the good news? it could be easily rewritten to be event based π so like, the potential is there, bestie.
π SEE ALSO π
Data::Stagπ- This script is a wrapper for the method:
Data::Stag->ijoin()
iykyk π
π§ POD ERRORS π§
Hey! The above document had some coding errors, which are explained below π not me snitching on the docs, but here we are:
- Around line 108:
'=item' outside of any '=over'
- Around line 118:
- You forgot a
'=back'before a'=head1'
- You forgot a
periodt. the pod parser said what it said π
πΈ and that's the whole page, bestie πΈ this one came from perl v5.42.0, dated 2025-07-25 β slay, go join some trees ππ¦π
π¦ where this page comes from
- fedora 43: perl-Data-Stag 0.14-28.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms