Multiple Documents
YAML is a Stream of documents:
use YAML::XS qw/ LoadFile /; my @documents = LoadFile($file);
---
# mapping
a
:
1
b
:
2
...
# Next document
---
-
a
-
list
...
# a plain scalar can even start
# on the same line as the header
---
a simple scalar
Slide 9/35
BACK
UP
NEXT
next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) | next page: ( shift + page down ) | previous page: ( shift + page up ) | index: ( arrow-up )