| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Enum::Declare::Common::FileType; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
80626
|
use 5.014; |
|
|
1
|
|
|
|
|
3
|
|
|
4
|
1
|
|
|
1
|
|
3
|
use strict; |
|
|
1
|
|
|
|
|
8
|
|
|
|
1
|
|
|
|
|
25
|
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
38
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
396
|
use Enum::Declare; |
|
|
1
|
|
|
|
|
9153
|
|
|
|
1
|
|
|
|
|
161
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
enum Type :Str :Type :Export { |
|
10
|
|
|
|
|
|
|
File = "file", |
|
11
|
|
|
|
|
|
|
Directory = "directory", |
|
12
|
|
|
|
|
|
|
Symlink = "symlink", |
|
13
|
|
|
|
|
|
|
Socket = "socket", |
|
14
|
|
|
|
|
|
|
Pipe = "pipe", |
|
15
|
|
|
|
|
|
|
Block = "block", |
|
16
|
|
|
|
|
|
|
Char = "char" |
|
17
|
|
|
|
|
|
|
}; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Enum::Declare::Common::FileType - File type constants |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
use Enum::Declare::Common::FileType; |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
say File; # "file" |
|
30
|
|
|
|
|
|
|
say Directory; # "directory" |
|
31
|
|
|
|
|
|
|
say Symlink; # "symlink" |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 ENUMS |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 Type :Str :Export |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
File="file", Directory="directory", Symlink="symlink", Socket="socket", |
|
38
|
|
|
|
|
|
|
Pipe="pipe", Block="block", Char="char". |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
LNATION C<< >> |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Copyright 2026 LNATION. Artistic License 2.0. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |