in reply to Error: Odd number of elements in anonymous hash
This does:... return bar($dbh, { %$subargs, subkey1 => subval1, subkey2 => subval2}) +; ...
... return bar($dbh, { myhashref => $subargs, subkey1 => subval1, subkey2 +=> subval2}); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error: Odd number of elements in anonymous hash
by chromatic (Archbishop) on Jul 23, 2011 at 07:05 UTC | |
by onelesd (Pilgrim) on Jul 23, 2011 at 07:12 UTC | |
by Marshall (Canon) on Jul 23, 2011 at 07:43 UTC | |
by Anonymous Monk on Jul 23, 2011 at 07:17 UTC |