File::Spec::OS2(3pm)
β¨ NAME β¨
okay bestie, welcome to File::Spec::OS2 β methods for OS/2 file specs π
this is the File::Spec::OS2(3pm) page from the Perl Programmers Reference Guide, and yes we are getting into it.
π¦ SYNOPSIS π¦
you literally just need this:
require File::Spec::OS2; # Done internally by File::Spec if needed
that comment is important, bestie: it's done internally by File::Spec if needed π«Ά
π DESCRIPTION π
go peek at File::Spec and File::Spec::Unix for the full lore. this package overrides the implementation of these methods β not the semantics, okay? the vibe is implementation change only π₯
Amongst the changes made for OS/2 are...
πΈ tmpdir πΈ
this one modifies the list of places temp directory information is looked for, and the list is exactly this:
$ENV{TMPDIR}
$ENV{TEMP}
$ENV{TMP}
/tmp
/
no cap, that's the whole list π
π splitpath π
volumes can be drive letters or UNC sharenames (\\server\share) β¨ that's the tea.
π 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.
mwah π this little page is brought to you by perl v5.42.3, dated 2026-11-03 β iconic, honestly π
π¦ 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