dir(3pm)
π dir(3pm) β aka the manual page for OpaL::dir π
Okay bestie, listen. You're looking at dir(3pm), a page from the User Contributed Perl Documentation collection, and it's all about a lil module called OpaL::dir. Sit down, sip your strawberry matcha, and let's get into it. πβ¨
β¨ NAME β¨
OpaL::dir β a Perl extension for directory access. That's it, that's the whole vibe. It gets you into directories, but likeβ¦ advanced.
πΈ SYNOPSIS πΈ
Here's the whole thing in one glance, no notes:
use OpaL::dir qw(getdirlist);
@list = getdirlist($directory);
Look at that. Clean. Iconic. Zero drama. You import getdirlist, you point it at a $directory, and boom β you got a @list. π
π¦ DESCRIPTION π¦
So OpaL::dir is a module for directory access, right? And it does it in a bit more advanced manner than the ordinary perl module for directory access. That's literally what the docs say and honestly? Slay. It's giving "the regular one could never." π
π FUNCTIONS π
π getdirlist
This one's the main character. Here's what she does:
- Returns a list containing all files in the directory you have specified. ποΈ
- It will look for all files recursivly. (Yes, that's spelled like that in the original, and we respect the spelling, no cap.)
- It will also exclude all
CVS/*files, and the"."and".."directories. Not invited to the party, sorry. π
USAGE:
@list = "getdirlist"($directoryname);
Heads up: that's exactly how the usage line is written β with "getdirlist" in quotes. We're keeping it character-for-character because that's the rule, bestie. π«Ά
π AUTHOR π
This absolute legend wrote it:
Ola Lundqvist <ola@inguza.com>
Respect the author, they made the module. π
π₯ REQUIRES π₯
This package requires OpaL::action, so you have to make sure that that perl module is installed. Do NOT skip this step. If OpaL::action isn't there, things are gonna be a whole mess and not the cute kind. π
β SEE ALSO β
Go read these too, iykyk:
OpaL::actionperl(1)
And that's the whole page, bestie β you ate it. π β¨
This one comes from perl v5.40.1, dated 2025-12-17, and it's page dir(3pm). Kisses, stay recursive, mwah. ππ¦π
π¦ where this page comes from
- ubuntu resolute: opalmod 0.2.2.1build1
- ubuntu stonking: opalmod 0.2.2.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms