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.1 by root, Mon Aug 10 01:37:19 2009 UTC vs.
Revision 1.2 by root, Mon Aug 10 19:19:30 2009 UTC

6 6
7 # see the "aemp" command line utility 7 # see the "aemp" command line utility
8 8
9=head1 DESCRIPTION 9=head1 DESCRIPTION
10 10
11Move along pleas,e nothing to see here at the moment. 11Move along please, nothing to see here at the moment.
12 12
13=cut 13=cut
14 14
15package AnyEvent::MP::Config; 15package AnyEvent::MP::Config;
16 16
56 link $CONFIG_FILE, "$CONFIG_FILE~"; 56 link $CONFIG_FILE, "$CONFIG_FILE~";
57 rename "$CONFIG_FILE~new~", $CONFIG_FILE 57 rename "$CONFIG_FILE~new~", $CONFIG_FILE
58 or Carp::croak "$CONFIG_FILE: $!"; 58 or Carp::croak "$CONFIG_FILE: $!";
59} 59}
60 60
61sub node_config {
62 \%CFG
63}
64
61load; 65load;
62END { save } 66END { save }
63 67
64=head1 SEE ALSO 68=head1 SEE ALSO
65 69

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines