use strict; use Data::Dumper; use YAML; my $ref = Load(<<'XXX'); --- foo: - ~ - bar: baz: - 123 XXX print Dumper($ref);
In reply to Re: Construct a data structure from a string
by alftheo
in thread Construct a data structure from a string
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |