xyx - convert xml to yaml or vice versa
xyx foo.xml > foo.yml xyx foo.yml > foo.xml
This program requires the Perl modules XML::Simple and YAML. It will use one of them to Load a document in the respective format, and use the other to Dump the data structure in the other format. Input content type is autodetected.
This is a trivial program and probably only useful for trivial tasks.
Brian Ingerson <ingy@cpan.org>
Copyright 2002, Brian Ingerson - All rights reserved
You may use this hack under the same terms as Perl itself.
To install YAML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YAML
CPAN shell
perl -MCPAN -e shell install YAML
For more information on module installation, please visit the detailed CPAN module installation guide.