File: MyPlugin.pm

package info (click to toggle)
libformvalidator-simple-perl 0.29-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 412 kB
  • sloc: perl: 3,043; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
package MyNamespace::MyPlugin;
use strict;
use FormValidator::Simple::Constants;

sub MYPLUGIN {
    my ($class, $params, $args) = @_;
    my $data = $params->[0];
    return $data =~ /myplugin/ ? TRUE : FALSE;
}

1;