wml::sup::path(3)

wml::sup::path3

Filesystem path manipulation

Usage

 #use wml::sup::path
 <: $relpath = relpath($from, $to); :>
 <: $path    = canonpath($path);    :>
 <: $url     = canonurl($url);      :>

Overview

This include file provides the Perl functions "relpath", "canonpath" and "canonurl" which calculate relative and canonical paths/urls. For example, the relative path from /foo/path/bar/quux to /foo/path/foobar is calculated to ../../foobar and the canonical path of ./foo/./bar/../quux// is foo/quux/.

Requires

 Internal: P1, P3
 External: --

Releases

15 releases since Debian 2.0 (Hamm); the text changed 12 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 3.1
  6. 4.0
  7. 5.0
  8. 6.0
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11–13

Author

 Ralf S. Engelschall
 [email protected]
 www.engelschall.com

From wml 2.32.0~ds1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.