1File::HomeDir::Darwin(3U)ser Contributed Perl DocumentatiFoinle::HomeDir::Darwin(3)
2
3
4

NAME

6       File::HomeDir::Darwin - find your home and other directories, on Darwin
7       (OS X)
8

DESCRIPTION

10       This module provides Darwin-specific implementations for determining
11       common user directories.  In normal usage this module will always be
12       used via File::HomeDir.
13

SYNOPSIS

15         use File::HomeDir;
16
17         # Find directories for the current user
18         $home    = File::HomeDir->my_home;        # /Users/mylogin
19         $desktop = File::HomeDir->my_desktop;     # /Users/mylogin/Desktop
20         $docs    = File::HomeDir->my_documents;   # /Users/mylogin/Documents
21         $music   = File::HomeDir->my_music;       # /Users/mylogin/Music
22         $pics    = File::HomeDir->my_pictures;    # /Users/mylogin/Pictures
23         $videos  = File::HomeDir->my_videos;      # /Users/mylogin/Movies
24         $data    = File::HomeDir->my_data;        # /Users/mylogin/Library/Application Support
25

TODO

27       * Fallback to Unix if no Mac::Carbon available
28       * Test with Mac OS (versions 7, 8, 9)
29       * Some better way for users_* ?
30
31
32
33perl v5.8.8                       2007-02-08          File::HomeDir::Darwin(3)
Impressum