Mercurial > repos > cpt > cpt_psm_prep
comparison lib/CPT/Writer/Dumper.pm @ 1:d724f34e671d draft default tip
planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
author | cpt |
---|---|
date | Mon, 05 Jun 2023 02:50:07 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:e4de0a0e90c8 | 1:d724f34e671d |
---|---|
1 package CPT::Writer::Dumper; | |
2 use Moose; | |
3 with 'CPT::Writer'; | |
4 | |
5 sub process { | |
6 my ($self) = @_; | |
7 use Data::Dumper; | |
8 my $d = Data::Dumper->new( [ $self->data ] ); | |
9 $self->processed_data( $d->Dump ); | |
10 $self->processing_complete(1); | |
11 } | |
12 | |
13 sub suffix { | |
14 return 'perldump'; | |
15 } | |
16 no Moose; | |
17 1; | |
18 | |
19 __END__ | |
20 | |
21 =pod | |
22 | |
23 =encoding UTF-8 | |
24 | |
25 =head1 NAME | |
26 | |
27 CPT::Writer::Dumper | |
28 | |
29 =head1 VERSION | |
30 | |
31 version 1.99.4 | |
32 | |
33 =head1 AUTHOR | |
34 | |
35 Eric Rasche <rasche.eric@yandex.ru> | |
36 | |
37 =head1 COPYRIGHT AND LICENSE | |
38 | |
39 This software is Copyright (c) 2014 by Eric Rasche. | |
40 | |
41 This is free software, licensed under: | |
42 | |
43 The GNU General Public License, Version 3, June 2007 | |
44 | |
45 =cut |