1File::Spec::Functions(3U)ser Contributed Perl DocumentatiFoinle::Spec::Functions(3)
2
3
4
6 File::Spec::Functions - portably perform operations on file names
7
9 use File::Spec::Functions;
10 $x = catfile('a','b');
11
13 This module exports convenience functions for all of the class methods
14 provided by File::Spec.
15
16 For a reference of available functions, please consult
17 File::Spec::Unix, which contains the entire set, and which is inherited
18 by the modules for other platforms. For further information, please see
19 File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or
20 File::Spec::VMS.
21
22 Exports
23 The following functions are exported by default.
24
25 canonpath
26 catdir
27 catfile
28 curdir
29 rootdir
30 updir
31 no_upwards
32 file_name_is_absolute
33 path
34
35 The following functions are exported only by request.
36
37 devnull
38 tmpdir
39 splitpath
40 splitdir
41 catpath
42 abs2rel
43 rel2abs
44 case_tolerant
45
46 All the functions may be imported using the ":ALL" tag.
47
49 Copyright (c) 2004 by the Perl 5 Porters. All rights reserved.
50
51 This program is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
53
55 File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2,
56 File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker
57
58
59
60perl v5.38.0 2023-07-21 File::Spec::Functions(3)