in reply to
Re: how do i parse a yaml set with perl ( can't )
in thread how do i parse a yaml set with perl
Thanks for the quick reply.
This file is created by a java program using the snakeyaml library.
I will ask them to change the set to a hash where the values are 1.
The order doesn't matter, but the elements are also simple values... why not make it an array?
If you're making it a hash, then your values are used as the keys of the hash and you have to make up and store dummy values to complete the hash structure. That's confusing and inefficient.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (93 votes),