On 7 May 2010 18:13, Daniel Hilton <danhiru...@gmail.com> wrote: > One concern I have with using 'keys %$defaults' is that the defaults > are no longer applied in a predictable order. > > If I have > > default_args: > elements: > _Input: [ key: some_value ] > Text: [ key: another_value ] > > the value for 'key' for Text elements is equally likely to end up as > 'some_value' or 'another_value', and can even change between different > runs.
Thanks for pointing that out! I've just noticed that Class::C3 now recommends using MRO::Compat - which led me to find mro::get_linear_isa() - which provides the same functionality Class::ISA did, but using the correct c3 order. I've applied both these changes. Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu