YAML, which is a recursive acronym for ""YAML Ain't Markup Language", is a human-readable data serialization format that incorporates concepts from programming languages such as C, Perl, and Python. To install the YAML Perl module type
perl -e shell -MCPANat a shell prompt and then at the cpan prompt, type
# perl -e shell -MCPAN Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan> install YAML
Once it is installed you can view documentation on it by issuing the
perldoc YAML. If you just want to see if it is
installed, you can issue that command. If it is, you will see the documentation.
If it isn't installed, you will see a message "No documentation found" followed
by the module name.
You can also use the
-l argument to
will report the location of the
documentation, abbreviated pod, file for the module, if one is present or
also report "No documentation found", if the module can't be found. Be
sure to capitalize "YAML" or you will see the "No documentation found"
# perldoc -l yaml No documentation found for "yaml". # perldoc -l YAML /usr/local/share/perl5/YAML.pod