Parent Directory | Revision Log | Patch
revision 221 by dpavlin, Fri Oct 31 23:10:08 2008 UTC | revision 229 by dpavlin, Sat Nov 1 13:17:45 2008 UTC | |
---|---|---|
# | Line 52 sub config { | Line 52 sub config { |
52 | my $key = shift || ref($self); | my $key = shift || ref($self); |
53 | warn "## config $key" if $self->debug; | warn "## config $key" if $self->debug; |
54 | $self->load_config unless defined %config; | $self->load_config unless defined %config; |
55 | confess "$key doesn't exist in config" unless defined $config{ $key }; | #confess "$key doesn't exist in config" unless defined $config{ $key }; |
56 | return unless defined $config{ $key }; | |
57 | return $config{ $key }; | return $config{ $key }; |
58 | } | } |
59 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |