… | |
… | |
1314 | C<grp_mon> can be replaced by C<db_mon> with minor changes - C<db_mon> |
1314 | C<grp_mon> can be replaced by C<db_mon> with minor changes - C<db_mon> |
1315 | passes a hash as first argument, and an extra C<$chg> argument that can be |
1315 | passes a hash as first argument, and an extra C<$chg> argument that can be |
1316 | ignored: |
1316 | ignored: |
1317 | |
1317 | |
1318 | db_mon $group => sub { |
1318 | db_mon $group => sub { |
1319 | my ($ports, $add, $chg, $lde) = @_; |
1319 | my ($ports, $add, $chg, $del) = @_; |
1320 | $ports = [keys %$ports]; |
1320 | $ports = [keys %$ports]; |
1321 | |
1321 | |
1322 | # now $ports, $add and $del are the same as |
1322 | # now $ports, $add and $del are the same as |
1323 | # were originally passed by grp_mon. |
1323 | # were originally passed by grp_mon. |
1324 | ... |
1324 | ... |