Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Dereferencing a hashref from XML::Simple

by helgi (Hermit)
on Jul 28, 2006 at 11:30 UTC ( [id://564328]=note: print w/replies, xml ) Need Help??


in reply to Re: Dereferencing a hashref from XML::Simple
in thread Dereferencing a hashref from XML::Simple

Thanks, Grandfather.

It's strange, but your code returns almost exactly the same error as the XML::Simple code above:

not well-formed (invalid token) at line 4, column 49, byte 93 at /usr/ +lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/XML/Parser.pm lin +e 187
This happens on Windows (Activeperl) and two different Linux systems. Any idea what's going on?


--
Regards,
Helgi Briem
hbriem AT f-prot DOT com

Replies are listed 'Best First'.
Re^3: Dereferencing a hashref from XML::Simple
by GrandFather (Saint) on Jul 28, 2006 at 11:39 UTC

    It works fine here as you can see from the sample output. I'd guess a bad character in the XML string. Try overwriting it with your original sample data or at least delete all the line ends in your editor and replace them with new ones.


    DWIM is Perl's answer to Gödel

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found