BSD Ports

www/p5-Dancer2-Plugin-Path-Class 0.08 DragonFly

List a directory using Path::Class

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, www
Package size
7.1 KiB, 13.4 KiB installed

Description

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

In the other systems

SystemPortVersion
DragonFlywww/p5-Dancer2-Plugin-Path-Class0.08
FreeBSDwww/p5-Dancer2-Plugin-Path-Class0.08
HardenedBSDwww/p5-Dancer2-Plugin-Path-Class0.08
GhostBSDwww/p5-Dancer2-Plugin-Path-Class0.08

Install

Binary package:

pkg install p5-Dancer2-Plugin-Path-Class

From DPorts:

cd /usr/dports/www/p5-Dancer2-Plugin-Path-Class && make install clean

Dependencies

Run dependencies 5

No port depends on this one.