/[Frey]/branches/mojo/lib/Frey/Dumper.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/mojo/lib/Frey/Dumper.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 253 - (show annotations)
Tue Nov 4 19:00:13 2008 UTC (15 years, 5 months ago) by dpavlin
File size: 261 byte(s)
added Frey::Dumper to dump data as html
1 package Frey::Dumper;
2 use Moose;
3
4 =head1 NAME
5
6 Frey::Dumper - dump data using L<Data::Dumper::HTML>
7
8 =cut
9
10 use Data::Dumper::HTML qw(dumper_html);
11
12 has data => (
13 is => 'rw',
14 required => 1,
15 );
16
17 sub markup {
18 my ($self) = @_;
19 dumper_html( $self->data );
20 }
21
22 1;

  ViewVC Help
Powered by ViewVC 1.1.26