File: Constants.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 (13 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
package FormValidator::Simple::Constants;
use strict;
use base qw/Exporter/;
our @EXPORT = qw/SUCCESS FAIL TRUE FALSE/;

sub SUCCESS { 1 }
sub FAIL    { !SUCCESS }
sub TRUE    { 1 }
sub FALSE   { !TRUE }

1;
__END__