NAME

File::HomeDir::Unix - find your home and other directories, on Unix

DESCRIPTION

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

SYNOPSIS

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 default to home directory at the moment ..
$docs    = File::HomeDir->my_documents;   #
$music   = File::HomeDir->my_music;       #
$pics    = File::HomeDir->my_pictures;    #
$videos  = File::HomeDir->my_videos;      #
$data    = File::HomeDir->my_data;        # 

TODO

  • Add support for common unix desktop and data directories when using KDE / Gnome / ...