1File::HomeDir::Darwin::UCsoecroaC(o3n)tributed Perl DocuFmielnet:a:tHioomneDir::Darwin::Cocoa(3)
2
3
4

NAME

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

DESCRIPTION

10       This module provides Darwin-specific implementations for determining
11       common user directories using Cocoa API through Mac::SystemDirectory.
12       In normal usage this module will always be used via File::HomeDir.
13
14       Theoretically, this should return the same paths as both of the other
15       Darwin drivers.
16
17       Because this module requires Mac::SystemDirectory, if the module is not
18       installed, File::HomeDir will fall back to File::HomeDir::Darwin.
19

SYNOPSIS

21         use File::HomeDir;
22
23         # Find directories for the current user
24         $home    = File::HomeDir->my_home;      # /Users/mylogin
25         $desktop = File::HomeDir->my_desktop;   # /Users/mylogin/Desktop
26         $docs    = File::HomeDir->my_documents; # /Users/mylogin/Documents
27         $music   = File::HomeDir->my_music;     # /Users/mylogin/Music
28         $pics    = File::HomeDir->my_pictures;  # /Users/mylogin/Pictures
29         $videos  = File::HomeDir->my_videos;    # /Users/mylogin/Movies
30         $data    = File::HomeDir->my_data;      # /Users/mylogin/Library/Application Support
31
32
33
34perl v5.26.3                      2017-04-06   File::HomeDir::Darwin::Cocoa(3)
Impressum