… | |
… | |
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 | |
11 | Move along pleas,e nothing to see here at the moment. |
11 | Move along please, nothing to see here at the moment. |
12 | |
12 | |
13 | =cut |
13 | =cut |
14 | |
14 | |
15 | package AnyEvent::MP::Config; |
15 | package 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 | |
|
|
61 | sub node_config { |
|
|
62 | \%CFG |
|
|
63 | } |
|
|
64 | |
61 | load; |
65 | load; |
62 | END { save } |
66 | END { save } |
63 | |
67 | |
64 | =head1 SEE ALSO |
68 | =head1 SEE ALSO |
65 | |
69 | |