File::HomeDir::Unix(3pm)

File::HomeDir::Unix3pm

Find your home and other directories on legacy unix

Usage

  use File::HomeDir;
  
  # Find directories for the current user
  $home    = File::HomeDir->my_home;        # /home/mylogin
  $desktop = File::HomeDir->my_desktop;     # All of these will... 
  $docs    = File::HomeDir->my_documents;   # ...default to home...
  $music   = File::HomeDir->my_music;       # ...directory
  $pics    = File::HomeDir->my_pictures;    #
  $videos  = File::HomeDir->my_videos;      #
  $data    = File::HomeDir->my_data;        #

Overview

This module provides implementations for determining common user directories. In normal usage this module will always be used via File::HomeDir.

Support

See the support section the main File::HomeDir module.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 7 times.

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

Authors

Adam Kennedy <[email protected]>

Sean M. Burke <[email protected]>

From perl-file-homedir 1.006-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.