File::HomeDir::Unix.3pm

Langue: en

Version: 2009-03-27 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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

TODO

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