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 Copyright 2017 - 2020 Jens Rehsack
41
42 Some parts copyright 2000 Sean M. Burke.
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47 The full text of the license can be found in the LICENSE file included
48 with this module.
49
50
51
52perl v5.36.0 2023-01-20 File::HomeDir::Unix(3)