my ( $first, @subkeys ) = split /\./, $key; my $last = pop @subkeys; my $ref = $properties{$first} ||= {}; $ref = $ref->{$_} ||= {} for(@subkeys); $ref->{$last} = $value;
In reply to Re^2: property file parsing
by rhesa
in thread property file parsing
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |