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
10       directories.  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...
20         $docs    = File::HomeDir->my_documents;   # ...default to home...
21         $music   = File::HomeDir->my_music;       # ...directory at the...
22         $pics    = File::HomeDir->my_pictures;    # ...moment.
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.10.1                      2009-03-27            File::HomeDir::Unix(3)
Impressum