You are right, it was a missprint, it is DOL1, DOL2, DOL3, etc.
And yes, numbered keys always goes on the bottom of the list (I think it's a consequence of using radio buttons which are seen as one "part")
One strange thing I've noticed when I moved this part out of CGI to a separate script and done a dump using Data::Dumper is that all of those numbered keys goes to a first hash ?!?
Anyone knows why ?$VAR1 = { 'FOR3' => 'Nej', 'UID' => '', 'DOL3' => 'Nej', 'DOL1' => 'Nej', 'FNA' => '', 'MEX2' => 'Nej', 'CMG1' => 'Ja', 'CMG2' => 'Ja', 'MEX1' => 'Nej', 'DOL2' => 'Nej', 'PRI3' => 'Nej', 'spara' => 'Spara', 'PRI1' => 'Nej', 'ENA' => 'Exp-pri', 'FOR1' => 'Nej', 'MEX3' => 'Nej', 'NYTT' => 23400, 'FOR2' => 'Nej', 'PRI2' => 'Nej', 'PRE' => '(117)', 'CMG3' => 'Ja' }; $VAR2 = { 'UID' => 'FRLARS', 'PRE' => '(0117)', 'ENA' => 'Larsson', 'NYTT' => 23403, 'FNA' => 'Lars', }; $VAR3 = { 'UID' => 'ANJA08', 'PRE' => '(0117)', 'ENA' => 'Daun', 'NYTT' => 23404, 'FNA' => 'Anja', };
In reply to Re^2: Manipulating data structure
by SerZKO
in thread Manipulating data structure
by SerZKO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |