FILE::SPEC::FUNCTIONS(3pm)
π File::Spec::Functions π
okay so this is the File::Spec::Functions page β manual page File::Spec::Functions(3pm), from the Perl Programmers Reference Guide. It's giving portable file name operations, and bestie, that's iconic. π¦
πΈ NAME πΈ
File::Spec::Functions β portably perform operations on file names β¨
π¦ SYNOPSIS π¦
use File::Spec::Functions;
my $x = catfile('a', 'b');
π DESCRIPTION π
This module exports convenience functions for all of the class methods provided by File::Spec. Slay. Periodt. π
For a reference of available functions, please consult File::Spec::Unix, which contains the entire set, and which is inherited by the modules for other platforms. For further information, please see File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or File::Spec::VMS. iykyk π«Ά
π Exports π
The following functions are exported by default. These are the freebies, no extra import behavior needed:
canonpathcatdircatfilecurdirrootdirupdirno_upwardsfile_name_is_absolutepath
The following functions are exported only by request. Like, you gotta ask for these cuties:
devnulltmpdirsplitpathsplitdircatpathabs2relrel2abscase_tolerant
All the functions may be imported using the :ALL tag. That's the βgive me everythingβ vibe check. π―
π COPYRIGHT π
Copyright (c) 2004 by the Perl 5 Porters. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π SEE ALSO π
File::SpecFile::Spec::UnixFile::Spec::MacFile::Spec::OS2File::Spec::Win32File::Spec::VMSExtUtils::MakeMaker
that's the whole page, bestie β signing off with perl v5.42.3, dated 2026-11-03, and page name File::S...unctions(3pm). mwah ππ
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms