freebsd-ports/www/p5-Dancer2-Plugin-Path-Class/pkg-descr
Sunpoet Po-Chuan Hsieh ac67d4ddc8 Update WWW
2018-07-29 19:27:47 +00:00

10 lines
422 B
Text

Dancer2::Plugin::Path::Class exports the keyword 'ls'
returning a Path::Class object.
The 'ls' keyword also sets some 'vars'.
- ls_name: The basename of the path
- ls_cdup: The parent of the request path
- ls_dirs: A list of subdirectories if the path is a directory object
- ls_files: A list of files or just one file if the path is a file object
WWW: https://metacpan.org/release/HVOERS/Dancer2-Plugin-Path-Class-0.08