The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RRD::Daemon::Util - utilities for RRD::Daemon

mlhash

take a hash (as a ref), and an RE to split on, and return a hash (as a ref) that is the orig, as a multi-level hash split on the given re.

So,

  %a = ( 'a.b' => 7, 'a.c' => 5 );
  $b = mlhash(\%a, qr/\./); # $b == +{ a => +{ b => 7, c => 5 } };