in reply to Re^2: YAML newbie help
in thread YAML newbie help
Even more concise, each day can be made to fit on one line:- date: 2005-06-01 team: [ Jack, Jill, Joe ] boss: Clara - date: 2005-06-02 team: [ Harry, Hillary, Howie ] boss: Victoria
which makes it more readable as a table.- { date: 2005-06-01, team: [ Harry, Hillary, Howie ], boss: Clara + } - { date: 2005-06-02, team: [ Jack, Jill, Joe ], boss: Victor +ia }
I wonder if you can simplify even further, by factoring out the hash keys? Something on the order of:
Probably not.# INCORRECT YAML SYNTAX - { date:, team:, boss: } - { 2005-06-01, [ Harry, Hillary, Howie ], Clara } - { 2005-06-02, [ Jack, Jill, Joe ], Victoria }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: YAML newbie help
by PodMaster (Abbot) on May 31, 2005 at 10:42 UTC | |
by Tortue (Scribe) on May 31, 2005 at 11:10 UTC | |
by PodMaster (Abbot) on May 31, 2005 at 11:19 UTC |