line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package IO::Dirent; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
5814
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
4
|
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
116
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require Exporter; |
7
|
|
|
|
|
|
|
require DynaLoader; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
@ISA = qw(Exporter DynaLoader); |
10
|
|
|
|
|
|
|
@EXPORT_OK = qw( DT_UNKNOWN |
11
|
|
|
|
|
|
|
DT_FIFO |
12
|
|
|
|
|
|
|
DT_CHR |
13
|
|
|
|
|
|
|
DT_DIR |
14
|
|
|
|
|
|
|
DT_BLK |
15
|
|
|
|
|
|
|
DT_REG |
16
|
|
|
|
|
|
|
DT_LNK |
17
|
|
|
|
|
|
|
DT_SOCK |
18
|
|
|
|
|
|
|
DT_WHT |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
@EXPORT = qw( readdirent nextdirent ); |
21
|
|
|
|
|
|
|
%EXPORT_TAGS = ('ALL' => [@EXPORT, @EXPORT_OK]); |
22
|
|
|
|
|
|
|
$VERSION = '0.05'; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
5
|
use constant DT_UNKNOWN => 0; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
64
|
|
25
|
1
|
|
|
1
|
|
4
|
use constant DT_FIFO => 1; ## named pipe (fifo) |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
41
|
|
26
|
1
|
|
|
1
|
|
5
|
use constant DT_CHR => 2; ## character special |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
27
|
1
|
|
|
1
|
|
4
|
use constant DT_DIR => 4; ## directory |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
28
|
1
|
|
|
1
|
|
4
|
use constant DT_BLK => 6; ## block special |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
38
|
|
29
|
1
|
|
|
1
|
|
4
|
use constant DT_REG => 8; ## regular |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
36
|
|
30
|
1
|
|
|
1
|
|
4
|
use constant DT_LNK => 10; ## symbolic link |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
31
|
1
|
|
|
1
|
|
11
|
use constant DT_SOCK => 12; ## socket |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
44
|
|
32
|
1
|
|
|
1
|
|
5
|
use constant DT_WHT => 14; ## whiteout |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
63
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
bootstrap IO::Dirent $VERSION; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
__END__ |