Changeset 49 in ProjectBuilder for devel/pb/lib/pb.pm
- Timestamp:
- Aug 26, 2007, 11:58:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/pb.pm
r39 r49 9 9 use AppConfig qw(ARGCOUNT_HASH ARGCOUNT_ONE); 10 10 use Data::Dumper; 11 use vars qw (%pbroot); 11 12 12 13 sub pb_init { … … 28 29 GLOBAL => { 29 30 # Each conf item is a hash 30 ARGCOUNT => ARGCOUNT_ ONE,31 ARGCOUNT => ARGCOUNT_HASH, 31 32 }, 32 33 }); 33 34 $config->file($conffile); 34 35 my $ptr = $config->get("pbroot") || die "Unable to find pbroot in $conffile"; 35 return($ptr); 36 print "DEBUG: pbroot: ".Dumper($ptr)."\n" if ($debug >= 1); 37 %pbroot = %$ptr; 36 38 } 37 39
Note:
See TracChangeset
for help on using the changeset viewer.