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 my $body = $c->request->body;
25 $rdata = LoadFile( "$body" );
30 $c->request->data($rdata);
33 'I would have deserialized, but there was nothing in the body!')