2 # Catlyst::Action::Deserialize::YAML.pm
3 # Created by: Adam Jacob, Marchex, <adam@marchex.com>
4 # Created on: 10/12/2006 03:00:32 PM PDT
8 package Catalyst::Action::Deserialize::YAML;
13 use base 'Catalyst::Action';
18 my ( $controller, $c, $test ) = @_;
20 my $body = $c->request->body;
24 $rdata = LoadFile( $c->request->body );
29 $c->request->data($rdata);
32 'I would have deserialized, but there was nothing in the body!');