comparison lib/CPT/Writer/YAML.pm @ 1:8691c1c61a8e draft default tip

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