1 package File::Spec::Functions;
6 use vars qw(@ISA @EXPORT @EXPORT_OK);
34 foreach my $meth (@EXPORT, @EXPORT_OK) {
35 my $sub = File::Spec->can($meth);
37 *{$meth} = sub {&$sub('File::Spec', @_)};
46 File::Spec::Functions - portably perform operations on file names
50 use File::Spec::Functions;
51 $x = catfile('a','b');
55 This module exports convenience functions for all of the class methods
56 provided by File::Spec.
58 For a reference of available functions, please consult L<File::Spec::Unix>,
59 which contains the entire set, and which is inherited by the modules for
60 other platforms. For further information, please see L<File::Spec::Mac>,
61 L<File::Spec::OS2>, L<File::Spec::Win32>, or L<File::Spec::VMS>.
65 The following functions are exported by default.
78 The following functions are exported only by request.
90 File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2,
91 File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker