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, P3External: --
Releases
15 releases since Debian 2.0 (Hamm); the text changed 12 times.