extract number of drives, cache and log from pool name
[MojoFacets.git] / public / code / pool.drives,cache,log.pl
1 foreach my $v ( @{ $row->{'pool'} } ) {
2  $update->{$_} = $v =~ s/(\+$_)/$1/ foreach ( 'cache', 'log' );
3  $update->{drives} = $v =~ s/sd/sd/g;
4 }
5