diff options
author | franck cuny <franck@lumberjaph.net> | 2009-11-27 10:20:05 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2009-11-27 10:20:05 +0100 |
commit | ed4d161fc36a1dfe581439e7da0bb467145f396c (patch) | |
tree | 29047020c9202911883967643f81ed6cd6d05cbb /lib/MooseX/Net/API | |
parent | new tests (diff) | |
download | moosex-net-api-ed4d161fc36a1dfe581439e7da0bb467145f396c.tar.gz |
fix deserialisation
Diffstat (limited to 'lib/MooseX/Net/API')
-rw-r--r-- | lib/MooseX/Net/API/Role/Deserialize.pm | 2 |
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; |