Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

File::HomeDir::Darwin::Carbon

Name File::HomeDir::Darwin::Carbon
Version 1.002
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/File/HomeDir/Darwin/Carbon.pm
Is Core No
Search CPAN for this module File::HomeDir::Darwin::Carbon
Documentation File::HomeDir::Darwin::Carbon
Module Details File::HomeDir::Darwin::Carbon


NAME

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


DESCRIPTION

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

Note -- since this module requires Mac::Carbon and Mac::Carbon does not work with 64-bit perls, on such systems, File::HomeDir will try the File::HomeDir::Darwin::Cocoa manpage and then fall back to the (pure Perl) the File::HomeDir::Darwin manpage.


SYNOPSIS

  use File::HomeDir;
  # Find directories for the current user
  $home    = File::HomeDir->my_home;      # /Users/mylogin
  $desktop = File::HomeDir->my_desktop;   # /Users/mylogin/Desktop
  $docs    = File::HomeDir->my_documents; # /Users/mylogin/Documents
  $music   = File::HomeDir->my_music;     # /Users/mylogin/Music
  $pics    = File::HomeDir->my_pictures;  # /Users/mylogin/Pictures
  $videos  = File::HomeDir->my_videos;    # /Users/mylogin/Movies
  $data    = File::HomeDir->my_data;      # /Users/mylogin/Library/Application Support


TODO

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024