ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/jeweler.ext
(Generate patch)

Comparing deliantra/maps/perl/jeweler.ext (file contents):
Revision 1.2 by root, Sun Jul 16 17:15:18 2006 UTC vs.
Revision 1.3 by elmex, Wed Aug 9 11:54:02 2006 UTC

1#! perl 1#! perl
2use POSIX; 2use POSIX;
3use Data::Dumper; 3use Data::Dumper;
4use List::Util qw/max min sum/; 4use List::Util qw/max min sum/;
5require Jeweler; 5use Jeweler;
6use YAML qw/LoadFile/;
7use strict; 6use strict;
8 7
9my $DEBUG = 1; 8my $DEBUG = 1;
10my $CFG; 9my $CFG;
11 10
68 my ($filename) = @_; 67 my ($filename) = @_;
69 68
70# open my $fh, $filename 69# open my $fh, $filename
71# or die "Couldn't open '$filename': $!"; 70# or die "Couldn't open '$filename': $!";
72 71
73 my $cfg = LoadFile $filename; 72 my $cfg = {}; #LoadFile $filename;
74 73
75# my $section = 'main'; 74# my $section = 'main';
76# 75#
77# my $cont = join '', <$fh>; 76# my $cont = join '', <$fh>;
78# 77#

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines