• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/POE/Filter/H20-Feb-2017-17873

t/H20-Feb-2017-13086

ChangesH A D20-Feb-2017604 1813

LICENSEH A D20-Feb-201717.9 KiB380292

MANIFESTH A D20-Feb-2017247 1514

META.jsonH A D20-Feb-20171.7 KiB6765

META.ymlH A D20-Feb-2017833 3231

Makefile.PLH A D20-Feb-20171.5 KiB6756

READMEH A D20-Feb-20171.8 KiB8247

dist.iniH A D20-Feb-2017396 2418

README

1NAME
2
3    POE::Filter::LZO - A POE filter wrapped around Compress::LZO
4
5VERSION
6
7    version 1.72
8
9SYNOPSIS
10
11        use POE::Filter::LZO;
12
13        my $filter = POE::Filter::LZO->new();
14        my $scalar = 'Blah Blah Blah';
15        my $compressed_array   = $filter->put( [ $scalar ] );
16        my $uncompressed_array = $filter->get( $compressed_array );
17
18        use POE qw(Filter::Stackable Filter::Line Filter::LZO);
19
20        my ($filter) = POE::Filter::Stackable->new();
21        $filter->push( POE::Filter::LZO->new(),
22                       POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ),
23
24DESCRIPTION
25
26    POE::Filter::LZO provides a POE filter for performing
27    compression/decompression using Compress::LZO. It is suitable for use
28    with POE::Filter::Stackable.
29
30CONSTRUCTOR
31
32    new
33
34      Creates a new POE::Filter::LZO object. Takes one optional argument,
35      'level': the level of compression to employ. Consult Compress::LZO
36      for details.
37
38METHODS
39
40    get_one_start
41
42    get_one
43
44    get
45
46      Takes an arrayref which is contains lines of compressed input.
47      Returns an arrayref of decompressed lines.
48
49    put
50
51      Takes an arrayref containing lines of uncompressed output, returns an
52      arrayref of compressed lines.
53
54    clone
55
56      Makes a copy of the filter, and clears the copy's buffer.
57
58    level
59
60      Sets the level of compression employed to the given value. If no
61      value is supplied, returns the current level setting.
62
63SEE ALSO
64
65    POE
66
67    Compress::LZO
68
69    POE::Filter::Stackable
70
71AUTHOR
72
73    Chris Williams <chris@bingosnet.co.uk>
74
75COPYRIGHT AND LICENSE
76
77    This software is copyright (c) 2017 by Chris Williams.
78
79    This is free software; you can redistribute it and/or modify it under
80    the same terms as the Perl 5 programming language system itself.
81
82