summary refs log tree commit diff
path: root/lib/MooseX/Net/API
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-11-27 10:20:05 +0100
committerfranck cuny <franck@lumberjaph.net>2009-11-27 10:20:05 +0100
commited4d161fc36a1dfe581439e7da0bb467145f396c (patch)
tree29047020c9202911883967643f81ed6cd6d05cbb /lib/MooseX/Net/API
parentnew tests (diff)
downloadmoosex-net-api-ed4d161fc36a1dfe581439e7da0bb467145f396c.tar.gz
fix deserialisation
Diffstat (limited to 'lib/MooseX/Net/API')
-rw-r--r--lib/MooseX/Net/API/Role/Deserialize.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/Net/API/Role/Deserialize.pm b/lib/MooseX/Net/API/Role/Deserialize.pm
index 577af21..b83c58a 100644
--- a/lib/MooseX/Net/API/Role/Deserialize.pm
+++ b/lib/MooseX/Net/API/Role/Deserialize.pm
@@ -15,7 +15,7 @@ sub _from_yaml {
 
 sub _from_xml {
     my $xml = XML::Simple->new( ForceArray => 0 );
-    $xml->XMLout( { data => $_[0] } );
+    $xml->XMLin( $_[1] );
 }
 
 1;