From: Brian I. <in...@tt...> - 2001-11-12 18:55:24
|
On 12/11/01 12:37 -0500, Clark C . Evans wrote: > On Mon, Nov 12, 2001 at 10:40:56AM -0500, Clark C . Evans wrote: > | --- !list > | 0: \ > | one > | 1: two > | > | --- !list > | - \ > | one > | - two > > ... > > Brian wrote: > | 3) I'm not sure that integers as map keys will round trip through > | Perl. I think map keys get flattened to strings. Oh well. > > If you explicitly label a map as a list, will you > store it in a list... or put it in the map? I thought > that you were going to allow this... That's not what I'm talking about. I'm just saying that this: foo: bar 8: days a week might turn into: foo: bar "8": days a week > > #sparce array > --- !list > 0: one > 4: two > > Is this going to be stored in a map or a list? Just curious. Neither. It will be stored in an array. What's a 'list' anyway? ;) Cheers, Brian |