From: Kevin G. <ke...@go...> - 2003-02-01 00:13:51
|
Thanks for the tip, Jim. I tried it, and then noticed that Data::Dumper is also not consistent about putting quotes around hash values. I'm only using it in the test, to see whether the data structures returned by the parsers PropertiesConfigurator and DOMConfigurator are the same for equivalent configs. In t/038XML-DOM1.t I ended up stealing some code from Data::Compare to diff the data structures, all this just so we wouldn't have a dependency on Data::Dump. Jim Cromie wrote: > Kevin Goess wrote: > >> >> Mike Schilli wrote: >> >>> Looks like this is related, >> >> >> >> Yeah, Data::Dumper doesn't always return data in the same order, darn it. > > > > $Data::Dumper::Sortkeys = 1; # alpha sort hash keys > > slows it down a bit, (never tested that - but it must), > but predictabilty is good in logs. > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |