From ed4d161fc36a1dfe581439e7da0bb467145f396c Mon Sep 17 00:00:00 2001 From: franck cuny Date: Fri, 27 Nov 2009 10:20:05 +0100 Subject: fix deserialisation --- lib/MooseX/Net/API/Role/Deserialize.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MooseX/Net/API') 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; -- cgit 1.4.1