Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.241.523 Times

Program Version Switch 1.03

  Date Added: November 15, 2010  |  Visits: 1.156

Program Version Switch

Report Broken Link
Printer Friendly Version


Product Homepage
Download (102 downloads)



pvswitch is a very tiny program which makes it possible to use different program installations on one machine flawlessly. Its flexibility is intended for people who need to run programs against different interpreter versions. But it can also be used for different purposes like switching the version of a compiler, text editor, mail reader, browser, whatever. It is most useful for developers of interpreter based programs which are started via a hash-bang line (#!). The following example explains the usage for perl programs, but the very same is true for all other interpreter languages. If you install two or more different perl versions on your machine, you could just call the respective perl binary you want to use.. perl myscript.pl /path/to/another/perl myscript.pl This works fine, although it isnt very convenient. However if you are starting your program using the hash-bang line like #! /usr/bin/perl and then just start it by ./myscript.pl you would need to change the file itself to use another perl version. Again it is possible, but not very convenient. And here comes pvswitch: its purpose is to make such situations convenient. Further it solve some problems which come up if multiple people want to use different perl versions. pvswitch allows even to run one program in two shells with different perl versions. This is possible because pvswitch uses a environment variable to select the interpreter version to use. This environment variable can be set in different sessions independently. pvswitch is installed as new program binary (e.g. perl) the old one will be renamed to program.pvswitch. Now every time you execute a this program (e.g. perl), pvswitch is executed. It doesnt matter how you start the program... perl myscript.pl ./myscript.pl # if it has a hash-bang #! /usr/bin/perl for both cases the pvswitch binary will be executed, pvswitch will than check for the environment variable PVSWITCH_PERL_BINARY (if you are running perl), if it is found it tries to find this key in the configuration file pvswitch.conf and execute the program which is configured for the version configured set in the environment variable (e.g. perl.pvswitch). So it just executes the real program (e.g. perl interpreter). Depending on the environment a different version might be selected. There are some convenient tools (e.g. perlver, pvconfig) to configure this. Whats New in This Release: - Fixed a bug which could cause segmentation violation..

Requirements: No special requirements
Platforms: Linux
Keyword: Different Environment Environment Variable Interpreter Interpreters Perl Program Program Version Program Version Switch Programming Switch Version
Users rating: 0/10

License: Freeware Size: 76.8 KB
USER REVIEWS
More Reviews or Write Review


PROGRAM VERSION SWITCH RELATED
Utilities  -  Easy Environment Variable Setter 2011.01.14
Easy Environment Variable Setter is, just like the name suggests, a handy, easy to use application specially designed to help you create Environment Variables. Once you've opened the application you can load a template / project in File->Load,...
 
Development Editors  -  Environment Variable Editor 3
Environment Variable Editor is a handy and reliable utility designed to enable you to edit environment variables from a GUI interface. Environment Variable Editor is a better alternative for editing variables. It provides a GUI that enables you...
 
Miscellaneous  -  Getting SYSTEM environment variable under Windows 1.0
This script allows you to get SYSTEM environment value, as if running under Service or SYSTEM account.As you can see in Windows Control Panel 'System' applet there are two groups of environment variables: USER and SYSTEM. This script presents...
 
File Utilities  -  Dupseek 1.3
Dupseek is a command-line interactive perl program to find and remove duplicate files. A few strategies are possible for finding duplicate files in a big set, such as a heavily populated directory. One of the most widely used consists of...
13.31 KB  
Libraries  -  Devel::Profile 1.04
Devel::Profile is a Perl module to tell me why my perl program runs so slowly. SYNOPSIS perl -d:Profile program.pl less prof.out The Devel::Profile package is a Perl code profiler. This will collect information on the execution time of a...
7.17 KB  
File Management  -  Where file search utility 1.1
This utility searches all the paths in a semi-colon delimited environment variable list for files matching a given filespec. By default, PATH is used for the enviroment. For example, on my computerC:>where...
 
Networking Tools  -  IRC Defender 1.4b1
IRC Defender is a Perl program for protecting your IRC network against malware. It can protect you against virus drones, general troublemakers, ban evasion, and attacks. The program will background, and auto join the channel you have defined...
50.18 KB  
Installer/Uninstaller Tools  -  AutoRPM 3.3.3
AutoRPM is a Perl program that automates RPM installation. AutoRPM project is designed to be run from cron nightly and run interactively as necessary. By default, every night, it will check for official Red Hat updates for your system. However,...
86.02 KB  
Version Control Tools  -  cvs2html 1.97
cvs2html is a Perl program to transform the cvs log output to HTML. The HTML output will show the revision log history, differences between versions and enable a flexible configuration of the amount of information the user like to see from the CVS...
60.42 KB  
Version Control Tools  -  cvsstat 2.24
cvsstat is a Perl program which transforms the cvs status output to an ASCII table sorted after the status of files. If you have used CVS, then you know that it is hard to get a good overview the CVS-status of the files in you directories. Any...
37.89 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB