dir(3pm)

πŸ“¦
version 0.2.2.1build1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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:


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