table of contents
File::HomeDir::Unix(3) | User Contributed Perl Documentation | File::HomeDir::Unix(3) |
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 / ...
2009-03-27 | perl v5.10.1 |