File: SimpleFilter.pm

package info (click to toggle)
libcgi-compile-perl 0.27-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: perl: 372; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package SimpleFilter;
use strict;
use warnings;
use Filter::Util::Call;

sub import {
    filter_add([]);
}

sub filter {
    my $self = shift;
    my $status = filter_read();

    s{\btnirp\b}{print}g;

    return $status;
}

1;