projects
/
MojoFacets.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
extract number of drives, cache and log from pool name
[MojoFacets.git]
/
public
/
code
/
Habitat.habitat_references.pl
1
foreach my $v ( @{ $row->{Habitat} } ) {
\r
2
foreach my $ref ( $v =~ m/\[((?:\d+)(?:\s*,\s*\d+)?)\]/g ) {
\r
3
push @{ $row->{habitat_references} }, split(/\s*,\s*/,$ref);
\r
4
}
\r
5
}