in reply to Re^2: Human-readable serialization formats other than YAML?
in thread Human-readable serialization formats other than YAML?
(Got, Expected) => (Expected, Got)
Please note that the key return order in a hash is not guaranteed by perl. While it will be constant for a given version of perl on one OS it may well change with a different version of perl or even the same version on a different OS. This has bitten me before when writing tests for CPAN modules. If you are stringifying hashes for comparison purposes make sure you apply a sort to the keys first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Human-readable serialization formats other than YAML?
by parv (Parson) on Apr 24, 2008 at 01:02 UTC | |
by tachyon-II (Chaplain) on Apr 24, 2008 at 01:18 UTC |