Data-Encoder

 view release on metacpan or  search on metacpan

lib/Data/Encoder.pm  view on Meta::CPAN

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
=item my $encoder = Data::Encoder::Thing->new([$args:HashRef|ArrayRef])
 
The module SHOULD have a C<<new>> method.
 
This method creates a new instance of Data::Encoder module.
 
=item my $encoded = $encoder->encode($stuff [, @args]);
 
The module SHOULD have a C<<encode>> method.
 
=item my $decoded = $encoder->decode($stuff [, @args]);
 
The module SHOULD have a C<<decod>> method.
 
=back
 
=head1 AUTHOR
 
xaicron E<lt>xaicron {at} cpan.orgE<gt>
 
=head1 THANKS TO

lib/Data/Encoder/Custom.pm  view on Meta::CPAN

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
=head1 SYNOPSIS
 
  use Data::Encoder;
   
  my $encoder = Data::Encoder->load('Custom', {
      encoder => sub { ... },
      decoder => sub { ... },
  });
  my $encoded = $encoder->encode($data);
  my $decoded = $encoder->deocde($encoded);
 
=head1 AUTHOR
 
xaicron E<lt>xaicron {at} cpan.orgE<gt>
 
=head1 COPYRIGHT
 
Copyright 2010 - xaicron
 
=head1 LICENSE



( run in 0.251 second using v1.01-cache-2.11-cpan-454fe037f31 )