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

Re: XML::Twig and whitespaces

by monkey_boy (Priest)
on Aug 23, 2007 at 14:49 UTC ( #634654=note: print w/ replies, xml ) Need Help??


in reply to XML::Twig and whitespaces

I modified your code below to see how XML::Simple handles this, is seems to do the same thing, i suspect its one of the underlying modules possibly XML::Parser thats causing this:
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use XML::Simple; my $xml = XMLin(qq{<root t="space tab\tnewline\nend"/>}); print Dumper $xml;

output:
$VAR1 = { 't' => 'space tab newline end' };


This is not a Signature...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-08-27 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (379 votes). Check out past polls.