Catalyst::View::XML::Simple - XML view for your data
# lib/MyApp/View/XML.pm package MyApp::View::XML::Simple; use base qw( Catalyst::View::XML::Simple ); 1; sub hello : Local { my($self, $c) = @_; $c->stash->{message} = 'Hello World!'; $c->forward('View::XML::Simple'); }
Catalyst::View::XML::Simple is a Catalyst View handler that returns stash data in XML format using XML::Simple.
Lindolfo 'Lorn' Rodrigues <lorn at cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Thanks do Tatsuhiko Miyagawa for Catalyst::View::JSON :)
To install Catalyst::View::XML::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::XML::Simple
CPAN shell
perl -MCPAN -e shell install Catalyst::View::XML::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.