YAML in Perl
YAML: YAML Ain't Markup Language is a text format that provides hierarchical data structures similar to JSON, but it is especially human readable.
examples/sample.yml
--- YAML: YAML Ain't Markup Language Languages: - perl - python - javascript
It can be used for data serialization, though probbaly it is most often used for hierarchical configuration files.
YAML format allows the user to have key-value pair and list data structures.
Plenty of languages have YAML reader and write libraries.
In Perl the following libraries exist:
Other articles about YAML
- YAML vs YAML::XS inconsistencies (YAML::Syck and YAML::Tiny too)
- Reead YAML file (load YAMl)
- Write YAML file (save YAML)
- Counter example using YAML file to store the data
YAML in other languages
Published on 2017-08-27
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post