DESCRIPTION

SUBS

ls()

Argument is path to dir. Returns list array with all files, including dirs files and symlinks, etc.

lsa()

Same as ls(), but paths are absolute.

lsf()

Argument is path to dir. Returns list array with all files.

lsfa()

Same as lsf(), but paths are absolute.

lsd()

Argument is path to dir. Returns list array with all dirs.

lsda()

Same as lsd(), but paths are absolute.

lsr()

Argument is path to dir. Returns paths relative to ENV DOCUMENT ROOT. Slash at front is included. ENV DOCUMENT ROOT must be set or dies. If none in list, returns undef; If it is not within ENV DOCUMENT ROOT, returns undef. This uses Cwd::abs_path thus it resolves symlinks, this cgi-bin may not be within DOCUMENT ROOT, note. Returns array list.

lsfr()

Like lsr() but returns files.

lsdr()

Like lsr() but returns dirs.

reqdir()

Argument is path to dir. Requires that the dir exist, if not there, creates. Returns abs path to dir requested.