ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP/Config.pm
(Generate patch)

Comparing AnyEvent-MP/MP/Config.pm (file contents):
Revision 1.4 by root, Sun Aug 30 18:51:49 2009 UTC vs.
Revision 1.5 by root, Tue Sep 1 15:11:40 2009 UTC

60 60
61sub config { 61sub config {
62 \%CFG 62 \%CFG
63} 63}
64 64
65sub _find_profile($);
65sub _find_profile($) { 66sub _find_profile($) {
66 my ($name) = @_; 67 my ($name) = @_;
67 68
68 if (defined $name) { 69 if (defined $name) {
69 my $profile = $CFG{profile}{$name}; 70 my $profile = $CFG{profile}{$name};
70 return _find_profile ($profile->{parent}), %$profile; 71 return _find_profile $profile->{parent}, %$profile;
71 } else { 72 } else {
72 return %CFG; 73 return %CFG;
73 } 74 }
74} 75}
75 76

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines