File: generic-validator.pl

package info (click to toggle)
libcode-tidyall-perl 0.84~ds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,064 kB
  • sloc: perl: 5,244; lisp: 47; makefile: 2; sh: 1
file content (5 lines) | stat: -rw-r--r-- 100 bytes parent folder | download | duplicates (3)
1
2
3
4
5
use strict;
use warnings;

use Path::Tiny qw/ path /;
exit 1 if path(shift)->slurp =~ /forbidden/i;