Manual Reference Pages  - File::HomeDir::Unix (3)

NAME

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

CONTENTS

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 default to home directory at the moment ..
  $docs    = File::HomeDir->my_documents;   #
  $music   = File::HomeDir->my_music;       #
  $pics    = File::HomeDir->my_pictures;    #
  $videos  = File::HomeDir->my_videos;      #
  $data    = File::HomeDir->my_data;        #



TODO

* Add support for common unix desktop and data directories when using KDE / Gnome / ...
Jump to page    or go to Top of page |  Section 3 |  Main Index.


perl v5.8.5 File::HomeDir::Unix (3) 2008-02-03
Generated by manServer 1.07 from /usr/share/man/man3/File::HomeDir::Unix.3pm using man macros.