Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: XML SOAP Response

by almut (Canon)
on Jul 31, 2008 at 17:55 UTC ( [id://701486] : note . print w/replies, xml ) Need Help??


in reply to Re^2: XML SOAP Response
in thread XML SOAP Response

Probably just a couple of typos:

(1) print Dumper(\@vehicles); # plural (2) push(@vehicles,\%vehicle); # hashref (3) $vehicle{$_->{type}}=$_->{value}; # not veihcle

Replies are listed 'Best First'.
Re^4: XML SOAP Response
by psini (Deacon) on Jul 31, 2008 at 18:23 UTC

    Three typos in nine lines of code are a bit too many... so I debugged it and found two more errors.

    I said that it was untested, but I'm ashamed for putting so many errors in so little code.

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