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

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.80 by root, Tue Nov 7 16:30:55 2006 UTC vs.
Revision 1.82 by root, Sun Dec 3 20:59:52 2006 UTC

528sub object_freezer_as_string { 528sub object_freezer_as_string {
529 my ($rdata, $objs) = @_; 529 my ($rdata, $objs) = @_;
530 530
531 use Data::Dumper; 531 use Data::Dumper;
532 532
533 "$$rdata\n" . Dumper $objs 533 $$rdata . Dumper $objs
534} 534}
535 535
536sub object_thawer_load { 536sub object_thawer_load {
537 my ($filename) = @_; 537 my ($filename) = @_;
538 538
642 . "#line 1 \"$path\"\n{\n" 642 . "#line 1 \"$path\"\n{\n"
643 . (do { local $/; <$fh> }) 643 . (do { local $/; <$fh> })
644 . "\n};\n1"; 644 . "\n};\n1";
645 645
646 eval $source 646 eval $source
647 or die "$path: $@"; 647 or die $@ ? "$path: $@\n"
648 : "extension disabled.\n";
648 649
649 push @exts, $pkg; 650 push @exts, $pkg;
650 $ext_pkg{$base} = $pkg; 651 $ext_pkg{$base} = $pkg;
651 652
652# no strict 'refs'; 653# no strict 'refs';

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines