File: TestTypeLibrary.pm

package info (click to toggle)
libdancer2-perl 0.400001%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,580 kB
  • sloc: perl: 8,461; makefile: 9
file content (8 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
package TestTypeLibrary;
use Type::Library -base, -declare => ('MyDate');
use Type::Utils -all;
BEGIN { extends "Dancer2::Core::Types" };

declare MyDate, as StrMatch [qr{\d\d\d\d-\d\d-\d\d}];

1;