Ryszard has asked for the wisdom of the Perl Monks concerning the following question:
I want to go from this (Data::Dumper outut)
to this:{ 'KEY1' => 'VALUE1', 'KEY2' => 'VALUE2', 'KEY3' => 'VALUE3' };
$VAR1 = 'VALUE1'; $VAR2 = { 'KEY1' => 'VALUE1', 'KEY2' => 'VALUE2', 'KEY3' => 'VALUE3' };
Which is not a problem. What I am wondering is, if it would be worthwhile then delete'ing the duplicate data, ie KEY1.(are there any perf issues?)
The extra data will pose no problem (other than it being redundant), however I'm looking at creating a "best practise" app.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dulpicate data? is it worth de-duping?
by rdfield (Priest) on Mar 14, 2002 at 11:03 UTC | |
|
Re: Dulpicate data? is it worth de-duping?
by tomhukins (Curate) on Mar 14, 2002 at 12:24 UTC | |
by Ryszard (Priest) on Mar 14, 2002 at 12:40 UTC | |
by tjh (Curate) on Mar 14, 2002 at 15:25 UTC | |
by mpeppler (Vicar) on Mar 14, 2002 at 23:46 UTC | |
by tjh (Curate) on Mar 15, 2002 at 01:22 UTC |