stag-query - aggregare queries
stag-query avg person/age file.xml stag-query sum person/salary file.xml stag-query 'sub { $agg .= ", ".shift }' person/name file.xml
Performs aggregate queries
To install Data::Stag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Stag
CPAN shell
perl -MCPAN -e shell install Data::Stag
For more information on module installation, please visit the detailed CPAN module installation guide.