| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# This file is part of lib-if-dev |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2012 by Chris Weyl. |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
|
7
|
|
|
|
|
|
|
# |
|
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
package lib::if::dev; |
|
11
|
|
|
|
|
|
|
{ |
|
12
|
|
|
|
|
|
|
$lib::if::dev::VERSION = '0.002'; |
|
13
|
|
|
|
|
|
|
} |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: Use lib/ if we're in a dev root |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub import { |
|
18
|
|
|
|
|
|
|
|
|
19
|
6
|
100
|
|
6
|
|
14216
|
return unless -d 'lib'; |
|
20
|
4
|
100
|
100
|
|
|
120
|
return unless -f 'dist.ini' || -f 'Makefile.PL' || -f 'Build.PL'; |
|
|
|
|
100
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
3
|
|
|
|
|
7
|
push @INC, 'lib'; |
|
23
|
3
|
|
|
|
|
83
|
return; |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
!!42; |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |