FILE::SPEC::AMIGAOS(3pm)

✨ File::Spec::AmigaOS πŸ’…

okay so bestie, this is the File::Spec::AmigaOS page from the Perl Programmers Reference Guide β€” it's the AmigaOS-flavoured member of the File::Spec family, and honestly? she's tiny and she knows it. πŸŽ€


🌸 NAME 🌸

File::Spec::AmigaOS β€” File::Spec, but make it AmigaOS. πŸ¦‹


✨ SYNOPSIS ✨

like, you can require it yourself, but honestly you don't have to:

require File::Spec::AmigaOS; # Done automatically by File::Spec
                             # if needed

fr fr, File::Spec handles this for you β€” no cap, just read the comment. πŸ’–


πŸ’œ DESCRIPTION πŸ’œ

Methods for manipulating file specifications. That's the whole vibe. She's a File::Spec subclass and she does file-spec things. Periodt. πŸ‘‘


πŸ”₯ METHODS πŸ”₯

πŸŽ€ tmpdir

Returns $ENV{TMPDIR} β€” or, if that's unset (like, not even a little bit set), it returns "/t".

So: environment variable first, fallback second. The way that $ENV{TMPDIR} is the main character and "/t" is the understudy. 🫢

πŸŽ€ file_name_is_absolute

Returns true if there's a colon in the file name, or if it begins with a slash.

Two ways to be absolute on AmigaOS, and she's not judging either one. Colon? True. Leading slash? Also true. Anything else? Not absolute, sorry bestie. πŸ’€


🧚 the rest of the methods 🧚

All the other methods are from File::Spec::Unix. Like, all of them. She's not rewriting them, she's just borrowing the fit. 🌈


ngl, this page is short β€” but every single word is load-bearing, so don't skip the colon-or-slash thing. πŸ“

and that's the page!! 🌟 This masterpiece is from perl v5.42.3, dated 2026-11-03 β€” gatekeep it, bring it to the group chat, whatever, just remember where you got it. πŸ’…πŸ’–

πŸ“¦ where this page comes from