WWW::Noss::Dir(3pm)

πŸ“¦ version 1.10, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

WWW::Noss::Dir β€” it's the dir subroutine bestie, that's the whole vibe πŸ’…

This is the WWW::Noss::Dir manual page, section 3pm, in case you were wondering where you wandered into πŸ¦‹


🌸 USAGE 🌸

okay so this is literally how you use it:

use WWW::Noss::Dir qw(dir);

my @files = dir('/');

that's it. that's the whole thing. iconic ✨


πŸŽ€ DESCRIPTION πŸŽ€

So WWW::Noss::Dir is a module that hands you the dir() subroutine, and what dir() does is return a list of files that are present in whatever directory you point it at. simple. clean. slay πŸ’–

heads up though bestie: this is a private module. so if you're here looking for user documentation, you're in the wrong room β€” go consult the noss manual instead πŸ™ˆ

πŸ’« SUBROUTINES πŸ’«

lowkey important: subroutines are not exported automatically. you gotta ask for them. no freeloaders 🫢

@files = dir($dir, [ %param ])

Returns a list of files present in the directory $dir. %param is an optional argument where you can toss in additional parameters, if you're feeling extra ✨

The following are valid fields in %param:

  • hidden β€” a boolean that determines whether hidden files get included or not. defaults to false. so by default, the hidden ones stay hidden, sneaky little things πŸ•΅οΈβ™€οΈπŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Written by Samuel Young, <samyoung12788@gmail.com>.

This project's source can be found on its Codeberg page <https://codeberg.org/1-1sam/noss.git>. Comments and pull requests are welcome! fr fr, come say hi, we love that for us 🫢✨


Copyright (C) 2025 Samuel Young

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. periodt πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

  • noss

and that's a wrap bestie!! this was WWW::Noss::Dir, page 3pm, coming at you from perl v5.40.1, dated 2025-12-06 πŸŽ€βœ¨ go forth and list some files, you absolute main character πŸ‘‘πŸ’–

πŸ“¦ where this page comes from