At first glance, your YAML appears incorrectly
formatted. The - order
lines should be
indented two spaces. I'm also dubious about your having
fields under - order
. Do you know that those are hash keys, and that the second will tend to clobber the first?
I wonder if you've read sufficiently about the modules you are using. Perhaps you need to try going from perl data structures to YAML, to see what the formatting should be.
I would try the following (possibly valid) YAML:
- order: wb090130
- order: wb090131
UPDATE: YAML should end with '...'