Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Dir::Project 3.011

    Download button

    No screenshots available
    Downloads: 422  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Wilson Snyder | More programs
    Perl Artistic License / FREE
    April 2nd, 2008, 15:02 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Dir::Project description

    Dir::Project is a Perl module for project environment determination.

    Dir::Project is a Perl module for project environment determination.

    SYNOPSIS

    use Dir::Project;
    Dir::Project::get_set_all();

    Dir::Project provides a way to locate a source-controlled directory (CVS, Subversion, Perforce, etc) using only the current working directory (cd). This prevents users from having to set other environment variables when they switch between areas, and allows scripts and such inside the directory to be executed without changing the user's PATH.

    get_set_all()

    Set all variables, including get_set_project.
    get_set_project()

    Set $Project and $ENV{DIRPROJECT}.
    makefile()

    Create a makefile with the appropriate make code to set DIRPROJECT. This file is then included by make to set the variable.
    makefile_cat()

    Print the makefile with the appropriate make code to set DIRPROJECT.
    program_paths(program=>name)

    Return a list of paths the program may live at. Uses $DIRPROJECT_PATH and $DIRPROJECT_PREFIX resolved with the current project to determine the list.
    program_bin(paths=>@list)

    Return the first readable file in the list of paths, or undef if none found.
    undefine_all()

    Remove all environment variables.

    Product's homepage

      


    TAGS:

    project environment | environment determination | Perl module | project | environment | determination

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM