NAME

WWW::Noss::Dir - dir subroutine

USAGE

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

my @files = dir('/');

DESCRIPTION

WWW::Noss::Dir is a module that provides the dir(), subroutine, which returns a list of files present in the given directory. This is a private module, please consult the noss manual for user documentation.

SUBROUTINES

Subroutines are not exported automatically.

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

Returns a list of files present in the directory $dir. %param is an optional argument of additional parameters.

The following are valid fields in %param:

hidden

Boolean determining whether to include hidden files or not. Defaults to false.

AUTHOR

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

This project's source can be found on its Codeberg page. Comments and pull requests are welcome!

COPYRIGHT

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.

SEE ALSO

noss