GNOME Bugzilla – Bug 590159
perlmod confuse doc perl array and hash
Last modified: 2009-07-29 16:24:24 UTC
When perl output generated on the following example.c: /*@{*/ #define EXAMPLE (example) /*@}*/ /** \see EXAMPLE */ extern int example; There is a confusing item in the output perl package: doc => [ see => [ { type => 'url', link => 'example_8c_113b633378ea20dff6ff220caedb3e01d', content => 'EXAMPLE' } ] 'doc=>[...]' declared to array, but initialised with a hash 'see => ...'. Perl can process it, hash will separated to key and value and will form an array [key, value] like this: doc->[0] = 'see'; doc->[1] = { ... }; but it is formally incorrect, and hardly processable. Tested with 1.5.9 windows build
*** This bug has been marked as a duplicate of 590161 ***