Hi,
when I have defined hash argument for CGI->hidden() function which contain keys without dash, so in new perl is sometimes checked as array argument and not as hash.
For example this:
my $p = {
'-default' => [''],
'class' => 'class_set',
'-name' => 'name_set',
'id' => 'id_set'
};
In new perl isn't hash sorted, so sometimes happens that on first position is key which doesn't have dash character.
My proposal patch
fix_hash_argument.patch
Regards
Igor
Hi,
when I have defined hash argument for CGI->hidden() function which contain keys without dash, so in new perl is sometimes checked as array argument and not as hash.
For example this:
my $p = {
'-default' => [''],
'class' => 'class_set',
'-name' => 'name_set',
'id' => 'id_set'
};
In new perl isn't hash sorted, so sometimes happens that on first position is key which doesn't have dash character.
My proposal patch
fix_hash_argument.patch
Regards
Igor