On Tue, Jan 15, 2002 at 01:23:23AM -0800, brian moseley wrote: > On Tue, 15 Jan 2002 [EMAIL PROTECTED] wrote: > > > Did somebody think about extending Attribute::Type so > > that it supports nested structures (and you could get a > > real type system from that) ? > > i'm pretty sure there was concensus in a previous thread > that requiring 5.6.1 in order to get attribute support is > not desired. >
there was? i did not notice that ... but you can specify types in another way, attributes is just the cleanest approach since types can be tagged onto the variables. without types you won't be able to automatically compare data structures. they tell you wether you have to compare the values the hashref is pointing to (array type) or the reference itself (ref tyoe) as it was in your previous example. torvald
