line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# vim: set ts=2 sts=2 sw=2 expandtab smarttab: |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# This file is part of File-Spec-Native |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# This software is copyright (c) 2011 by Randy Stauner. |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# This is free software; you can redistribute it and/or modify it under |
8
|
|
|
|
|
|
|
# the same terms as the Perl 5 programming language system itself. |
9
|
|
|
|
|
|
|
# |
10
|
1
|
|
|
1
|
|
17981
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
45
|
|
11
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
67
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package File::Spec::Native; |
14
|
|
|
|
|
|
|
# git description: v1.003-8-gd52fa9e |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RWSTAUNER'; |
17
|
|
|
|
|
|
|
# ABSTRACT: Use native OS implementation of File::Spec from a subclass |
18
|
|
|
|
|
|
|
$File::Spec::Native::VERSION = '1.004'; |
19
|
1
|
|
|
1
|
|
5
|
use File::Spec (); #core |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
20
|
|
|
|
|
|
|
our @ISA = qw(File::Spec); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# TODO: import? -as => NATIVE |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |