in reply to Re: property file parsing
in thread property file parsing
my ( $first, @subkeys ) = split /\./, $key; my $last = pop @subkeys; my $ref = $properties{$first} ||= {}; $ref = $ref->{$_} ||= {} for(@subkeys); $ref->{$last} = $value;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: property file parsing
by pKai (Priest) on Feb 03, 2006 at 22:45 UTC | |
by rhesa (Vicar) on Feb 03, 2006 at 23:07 UTC | |
by pKai (Priest) on Feb 03, 2006 at 23:28 UTC | |
|
Re^3: property file parsing
by mifflin (Curate) on Feb 03, 2006 at 22:29 UTC |