Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by helgi (Hermit)
on Jul 28, 2006 at 11:30 UTC ( #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


Comment on Re^2: Dereferencing a hashref from XML::Simple
Download Code
Re^3: Dereferencing a hashref from XML::Simple
by GrandFather (Cardinal) 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
Node Status?
node history
Node Type: note [id://564328]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-07-23 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (138 votes), past polls