Linux SoftwareProgrammingLibrariesMac::Path::Util 0.23

Mac::Path::Util 0.23


Mac::Path::Util is a Perl module that can convert between darwin and Mac paths. SYNOPSIS use Mac::Path::Util;
Developer:   Brian D. Foy
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   5K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Mac::Path::Util is a Perl module that can convert between darwin and Mac paths.

SYNOPSIS

use Mac::Path::Util;

my $path = Mac::Path::Util->new( "/Users/foo/file.txt" );
my $mac_path = $path->mac_path;

THIS IS ALPHA SOFTWARE. SOME THINGS ARE NOT FINISHED.

Convert between darwin (unix) and Mac file paths.

This is not as simple as changing the directory separator. The Mac path has the volume name in it, whereas the darwin path leaves off the startup volume name because it is mounted as /.

Mac::Path::Util can optionally use Mac::Carbon to determine the real startup volume name (off by default) if you have installed Mac::Carbon. You can use this module on other platforms too. Once the module has looked up the volume name, it caches it. If you want to reset the cache, use the clear_startup() method.

Colons ( ":" ) in the darwin path become / in the Mac path, and forward slashes in the Mac path become colons in the darwin path.

Mac paths do not have a leading directory separator for absolute paths.
Normally, Mac paths that end in a directory name have a trailing colon, but this module cannot necessarily verify that since you may want to convert paths.

Requirements:
  • Perl
    tags mac path  volume name  path util  the mac  darwin path  path mac  mac paths  the darwin  path become  this module  mac carbon  startup volume  directory separator  

    Download Mac::Path::Util 0.23


     http://mirrors.evolva.ro/CPAN/authors/id/B/BD/BDFOY/Mac-Path-Util-0.23.tar.gz


    Authors software

    Mac::Path::Util 0.23 (by Brian D. Foy)
    Mac::Path::Util is a Perl module that can convert between darwin and Mac paths.

    SYNOPSIS

    use Mac::Path::Util;

    Mac::PropertyList 1.29 (by Brian D. Foy)
    Mac::PropertyList is a Perl module to work with Mac plists at a low level.

    SYNOPSIS

    use Mac::PropertyList;

    m


    Similar software

    Mac::Path::Util 0.23 (by Brian D. Foy)
    Mac::Path::Util is a Perl module that can convert between darwin and Mac paths.

    SYNOPSIS

    use Mac::Path::Util;

    Template::Magic 1.38 (by Domizio Demichelis)

    Scriptol Compilers 5.7 (by Scriptol)
    Scriptol is an object oriented programming language designed to deliver the programmer from hardware or software constraints and let

    IO::Util 1.5 (by Domizio Demichelis)

    CGI::Ex::Conf 2.06 (by Paul Seamons)
    CGI::Ex::Conf is a Perl module with Conf Reader/Writer for many different data format types.

    SYNOPSIS

    use CGI::Ex::Conf qw(

    Snow Path Formation Simulator 0.5.3 (by Matthew Strait)
    Snow Path Formation Simulator is a program that models the process of people forming very distinct, and yet not always altogether log

    kio_resources 0.2 (by Luke Sandell)
    kio_resources provides the "resources" protocol for KDE

    JPathReport 1.2.3 (by JGoodies)
    JPathReport enables you to understand how much space the packages and classes consume in your Java class path.

    JPathReport can als

    GNU-Darwin 1.1 (by GNU-Darwin)
    The GNU-Darwin Distribution is an amalgamation of the Darwin and GNU operating systems and a large collection of free software compat

    Audio::Beep::BSD::beep 0.11 (by Giulio Motta)
    Audio::Beep::BSD::beep is an Audio::Beep player module using the beep program.

    IMPORTANT!

    This player module IS NOT TESTED! I f


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.8d (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags