1File::HomeDir::Unix(3)User Contributed Perl DocumentationFile::HomeDir::Unix(3)
2
3
4

NAME

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

DESCRIPTION

9       This module provides implementations for determining common user direcā€
10       tories.  In normal usage this module will always be used via
11       File::HomeDir.
12

SYNOPSIS

14         use File::HomeDir;
15
16         # Find directories for the current user
17         $home    = File::HomeDir->my_home;        # /home/mylogin
18
19         $desktop = File::HomeDir->my_desktop;     # .. all of these will default to home directory at the moment ..
20         $docs    = File::HomeDir->my_documents;   #
21         $music   = File::HomeDir->my_music;       #
22         $pics    = File::HomeDir->my_pictures;    #
23         $videos  = File::HomeDir->my_videos;      #
24         $data    = File::HomeDir->my_data;        #
25

TODO

27       * Add support for common unix desktop and data directories when using
28       KDE / Gnome / ...
29
30
31
32perl v5.8.8                       2007-02-08            File::HomeDir::Unix(3)
Impressum