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

Comparing deliantra/Deliantra-Client/DC/Util.pm (file contents):
Revision 1.2 by elmex, Fri Apr 7 16:29:19 2006 UTC vs.
Revision 1.3 by root, Fri Apr 7 16:30:23 2006 UTC

5 my ($file) = @_; 5 my ($file) = @_;
6 6
7 open CFG, $file 7 open CFG, $file
8 or return; 8 or return;
9 9
10 local $/;
10 $::CFG = eval join '', <CFG>; 11 $::CFG = eval <CFG>;
11 12
12 close CFG; 13 close CFG;
13} 14}
14 15
15sub write_cfg { 16sub write_cfg {
71 }); 72 });
72 73
73 $w->show_all; 74 $w->show_all;
74 75
75 $w->signal_connect (destroy => sub { Gtk2->main_quit }); 76 $w->signal_connect (destroy => sub { Gtk2->main_quit });
76 Gtk2->main;
77} 77}
78 78
791; 791;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines