syspath.pl - Man Page

print configured system paths

Synopsis

​    syspath.pl
​    syspath.pl sysconfdir sharedstatedir
​    syspath.pl --help

Description

Print the active Sys::Path::SPc path keys and their configured values. Each line contains a key and value separated by a tab.

With no arguments, print every active path in canonical order. With arguments, print only the named paths in command-line order.

--help and -h print this documentation. Accepted path keys are:

​    prefix
​    localstatedir
​    sysconfdir
​    datadir
​    docdir
​    cachedir
​    logdir
​    spooldir
​    rundir
​    lockdir
​    localedir
​    sharedstatedir
​    webdir
​    srvdir

Errors

An unknown path key terminates the program with a usage error. No path output is produced if any requested key is unknown.

Info

2026-09-25 perl v5.44.0 User Contributed Perl Documentation