Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: XML SOAP Response

by mitchismoney (Initiate)
on Jul 31, 2008 at 17:46 UTC ( #701483=note: print w/replies, xml ) Need Help??

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

Adding the code changed the output to:
$VAR1 = [];
Is it a matter of double parsing the file? Or is this were XML::Twig comes in? I've only written some pretty basic Perl so bare with me as I try to learn/understand. I greatly appreciate it!

Replies are listed 'Best First'.
Re^3: XML SOAP Response
by almut (Canon) on Jul 31, 2008 at 17:55 UTC

    Probably just a couple of typos:

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

      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."

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://701483]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-02-06 11:55 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (34 votes). Check out past polls.