in reply to Re^2: XML::Simple and Adding Additional Nested Elements
in thread XML::Simple and Adding Nested Elements

if ($data{Things}{Thing}{Item} = "aValue") {

That would most likely not do what you want as it assigns "aValue" to the respective hash entry... :) — remember: eq is for string comparison.

Replies are listed 'Best First'.
Re^4: XML::Simple and Adding Additional Nested Elements
by psini (Deacon) on May 23, 2008 at 10:06 UTC

    :(

    I saw the "=" and corrected it as "=="... Who can I ask for having 10 XP removed for this? :)

    Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.

      psini:

      Oh, I wouldn't worry about it. I'm certain that at least 10 monks around here will help you with penance for your transgression. ;^)

      ...roboticus