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