Scroll to navigation

WWW::Noss::Dir(3pm) User Contributed Perl Documentation WWW::Noss::Dir(3pm)

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:

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 <https://codeberg.org/1-1sam/noss.git>. 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

2025-12-06 perl v5.40.1