1 package File::Spec::Functions;
6 use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION);
37 %EXPORT_TAGS = ( ALL => [ @EXPORT_OK, @EXPORT ] );
39 foreach my $meth (@EXPORT, @EXPORT_OK) {
40 my $sub = File::Spec->can($meth);
42 *{$meth} = sub {&$sub('File::Spec', @_)};
51 File::Spec::Functions - portably perform operations on file names
55 use File::Spec::Functions;
56 $x = catfile('a','b');
60 This module exports convenience functions for all of the class methods
61 provided by File::Spec.
63 For a reference of available functions, please consult L<File::Spec::Unix>,
64 which contains the entire set, and which is inherited by the modules for
65 other platforms. For further information, please see L<File::Spec::Mac>,
66 L<File::Spec::OS2>, L<File::Spec::Win32>, or L<File::Spec::VMS>.
70 The following functions are exported by default.
83 The following functions are exported only by request.
94 All the functions may be imported using the C<:ALL> tag.
98 File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2,
99 File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker