stag-query.pl - aggregare queries
stag-query.pl avg person/age file.xml stag-query.pl sum person/salary file.xml stag-query.pl '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.