ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra.pm (file contents):
Revision 1.120 by root, Wed Dec 26 18:26:15 2007 UTC vs.
Revision 1.122 by root, Mon May 26 03:33:43 2008 UTC

4 4
5=cut 5=cut
6 6
7package Deliantra; 7package Deliantra;
8 8
9our $VERSION = '1.14'; 9our $VERSION = '1.2';
10 10
11use strict; 11use strict;
12 12
13use base 'Exporter'; 13use base 'Exporter';
14 14
488} 488}
489 489
490sub attr_freeze($) { 490sub attr_freeze($) {
491 my ($ob) = @_; 491 my ($ob) = @_;
492 492
493 $ob->{attach} = Deliantra::encode_json $ob->{attach} 493 $ob->{attach} = JSON::XS->new->utf8->canonical->encode ($ob->{attach})
494 if exists $ob->{attach}; 494 if exists $ob->{attach};
495 495
496 $ob 496 $ob
497} 497}
498 498

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines