line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Distribution-wide Moose types for Bio::FastParsers |
2
|
|
|
|
|
|
|
$Bio::FastParsers::Types::VERSION = '0.221230'; |
3
|
|
|
|
|
|
|
use Moose::Util::TypeConstraints; |
4
|
7
|
|
|
7
|
|
47
|
|
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
70
|
|
5
|
|
|
|
|
|
|
use autodie; |
6
|
7
|
|
|
7
|
|
12851
|
use feature qw(say); |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
65
|
|
7
|
7
|
|
|
7
|
|
32628
|
|
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
785
|
|
8
|
|
|
|
|
|
|
use Path::Class qw(file); |
9
|
7
|
|
|
7
|
|
44
|
|
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
953
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# subtype for 'file' attributes |
12
|
|
|
|
|
|
|
subtype 'Bio::FastParsers::Types::File' |
13
|
|
|
|
|
|
|
=> as 'Path::Class::File' |
14
|
|
|
|
|
|
|
; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# avoid the need for 'isa' unions such as 'Str|Path::Class::File'... |
17
|
|
|
|
|
|
|
# ... and allow delegating to Path::Class::File methods (e.g., remove) |
18
|
|
|
|
|
|
|
coerce 'Bio::FastParsers::Types::File' |
19
|
|
|
|
|
|
|
=> from 'Str' |
20
|
|
|
|
|
|
|
=> via { file($_) } |
21
|
|
|
|
|
|
|
; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
no Moose::Util::TypeConstraints; |
25
|
7
|
|
|
7
|
|
53
|
1; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
56
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Bio::FastParsers::Types - Distribution-wide Moose types for Bio::FastParsers |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 VERSION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
version 0.221230 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Nothing to see here. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 AUTHOR |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Denis BAURAIN <denis.baurain@uliege.be> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
51
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |