in reply to Re: Map multiple xml tags to array
in thread Map multiple xml tags to array

Hi, i don't understand, my working code is exactly as i place here, and i don't get the undefined error.

Replies are listed 'Best First'.
Re^3: Map multiple xml tags to array
by soonix (Chancellor) on Aug 14, 2014 at 13:47 UTC
    in addition to what AppleFritter and GotToBTru noted,
    you report about
    an error saying that Hash cannot be used a array while strict refs are in use.
    The posted code doesn't even have strict in use...
Re^3: Map multiple xml tags to array
by GotToBTru (Prior) on Aug 14, 2014 at 13:31 UTC

    You declare the variable $iconv, and in the next mention of it, call its convert method, without ever defining that $iconv is any kind of object (Text::Iconv->new).

    1 Peter 4:10