File::Path::Expand(3pm)

File::Path::Expand3pm

Expand filenames

Usage

 use File::Path::Expand;
 print expand_filename("~richardc/foo"); # prints "/home/richardc/foo"

Overview

File::Path::Expand expands user directories in filenames. For the simple case it's no more complex than s{^~/}{$HOME/}, but for other cases it consults "getpwent" and does the right thing.

Releases

11 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0–7
  2. 8
  3. 9–10
  4. 11
  5. 12–13
  6. Arch

Author

Richard Clamp <[email protected]>

From perl-file-path-expand 1.02-20 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.