NAME
Acme::NewModule::SPc - example distribution-local path configuration
DESCRIPTION
This example keeps an application's writable and read-only directories beneath its distribution root. It illustrates an alternative to the system-wide paths provided by Sys::Path::SPc.
PATHS
_path_types
Return the ordered names of the directory accessors intended for list-driven configuration. prefix is omitted because it is discovered dynamically.
Current limitation: srvdir is also omitted even though this module defines that accessor.
prefix
Use Sys::Path::find_distribution_root to locate the nearest ancestor containing MANIFEST, Build.PL, or Makefile.PL.
Directory accessors
- sysconfdir
-
Return the distribution root followed by conf.
- datadir
-
Return the distribution root followed by share.
- docdir
-
Return the distribution root followed by doc.
- localedir
-
Return the distribution root followed by locale.
- cachedir
-
Return the distribution root followed by cache.
- logdir
-
Return the distribution root followed by log.
- spooldir
-
Return the distribution root followed by spool.
- rundir
-
Return the distribution root followed by run.
- lockdir
-
Return the distribution root followed by lock.
-
Return the distribution root followed by lib.
- webdir
-
Return the distribution root followed by www.
- srvdir
-
Return the distribution root followed by srv.