1File::HomeDir::Unix(3)User Contributed Perl DocumentationFile::HomeDir::Unix(3)
2
3
4
6 File::HomeDir::Unix - Find your home and other directories on legacy
7 Unix
8
10 use File::HomeDir;
11
12 # Find directories for the current user
13 $home = File::HomeDir->my_home; # /home/mylogin
14 $desktop = File::HomeDir->my_desktop; # All of these will...
15 $docs = File::HomeDir->my_documents; # ...default to home...
16 $music = File::HomeDir->my_music; # ...directory
17 $pics = File::HomeDir->my_pictures; #
18 $videos = File::HomeDir->my_videos; #
19 $data = File::HomeDir->my_data; #
20
22 This module provides implementations for determining common user
23 directories. In normal usage this module will always be used via
24 File::HomeDir.
25
27 See the support section the main File::HomeDir module.
28
30 Adam Kennedy <adamk@cpan.org>
31
32 Sean M. Burke <sburke@cpan.org>
33
35 File::HomeDir, File::HomeDir::Win32 (legacy)
36
38 Copyright 2005 - 2011 Adam Kennedy.
39
40 Some parts copyright 2000 Sean M. Burke.
41
42 This program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself.
44
45 The full text of the license can be found in the LICENSE file included
46 with this module.
47
48
49
50perl v5.26.3 2017-04-06 File::HomeDir::Unix(3)