Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Converting boolean values in XMLout

by pKai (Priest)
on Jun 23, 2009 at 11:27 UTC ( [id://773972]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use JSON;
    ...
    print Dumper($result);
    my $rec = XMLout( $result, RootName => 'root', SuppressEmpty => 1);
    print Dumper($rec);
    
  2. or download this
    $VAR1 = {
              'a' => 'x',
              'b' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' )
    ...
            };
    $VAR1 = '<root a="x" b="true" />
    ';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-23 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found