in reply to combining multiple hashrefs
You could combine the above into a oneliner yet that might obfuscate the code a bit.my @configs; push @configs, Config::Auto::parse( $_ ) foreach @files; my $SETS = { map {%$_} @configs };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: combining multiple hashrefs
by patrickb (Initiate) on Jul 26, 2007 at 23:43 UTC |