1 package File::Spec::Functions;
6 use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION);
9 $VERSION = eval $VERSION;
38 %EXPORT_TAGS = ( ALL => [ @EXPORT_OK, @EXPORT ] );
40 foreach my $meth (@EXPORT, @EXPORT_OK) {
41 my $sub = File::Spec->can($meth);
43 *{$meth} = sub {&$sub('File::Spec', @_)};
52 File::Spec::Functions - portably perform operations on file names
56 use File::Spec::Functions;
57 $x = catfile('a','b');
61 This module exports convenience functions for all of the class methods
62 provided by File::Spec.
64 For a reference of available functions, please consult L<File::Spec::Unix>,
65 which contains the entire set, and which is inherited by the modules for
66 other platforms. For further information, please see L<File::Spec::Mac>,
67 L<File::Spec::OS2>, L<File::Spec::Win32>, or L<File::Spec::VMS>.
71 The following functions are exported by default.
84 The following functions are exported only by request.
95 All the functions may be imported using the C<:ALL> tag.
99 Copyright (c) 2004 by the Perl 5 Porters. All rights reserved.
101 This program is free software; you can redistribute it and/or modify
102 it under the same terms as Perl itself.
106 File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2,
107 File::Spec::Win32, File::Spec::VMS, ExtUtils::MakeMaker