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

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

Serving Software Downloads in 976 Categories, Downloaded 32.288.807 Times

Program Version Switch 1.03

  Date Added: November 15, 2010  |  Visits: 765

Program Version Switch

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 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
PROGRAM VERSION SWITCH RELATED
Libraries  -  Test::Version 0.02
Test::Version is a Perl module that has the role to check for VERSION information in modules. SYNOPSIS use Test::Version; plan tests => $num_tests; version_ok( $file ); FUNCTIONS version_ok( FILENAME, [EXPECTED, [NAME] ] ) version_ok...
5.12 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Libraries  -  Open Perl IDE 1.0
Open Perl IDE is an integrated development environment for writing and debugging Perl scripts with any standard perl distribution. Features include - Complete encapsulation of "perl.exe"; Erroneous script lines will be listed on run, compile or...
1.1 MB  
Programming  -  rtldi 0.94
rtldi is an ELF program interpreter that enables each main executable program to use its own runtime loader and shared libraries, independent of the default versions installed in /lib, and independent of any other main executable program. Thus...
20.48 KB  
Libraries  -  Language::Basic::Variable 1.44
Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables. SYNOPSIS See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical. There are two sorts of...
52.22 KB  
Libraries  -  File::Maker 0.05
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. SYNOPSIS ##### # Subroutine interface # use File::Maker qw(load_db); %data = load_db($pm); ###### # Object interface # require...
77.82 KB  
Programming  -  Portable Forth Environment 0.33.71
The Portable Forth Environment implements the ANSI Forth Standard, it is fully written in C, the newer version has a module concept, and it is fully multithreaded. Autoconf used. Tested in embedded environments.
1.71 MB  
Games  -  Teddy Bear Defender 1.0.0.0
Teddy Bear Defender Flying Shooter Amazing fighter plane in a 3d cartoon environment Get in flight on a beautiful adventure to rescue, our loved favorite Teddy Bear, now we can get it back thanks a game Six different fantasy environment levels...
52 MB  
Security Tools  -  myNetWatchman Perl Agent 1.12
myNetWatchman Perl Agent is a program that is designed to capture rejected packet information from various firewall logs and forward this attack information to central analysis servers at myNetWatchman.com.
44.06 KB  
Libraries  -  Getopt::Euclid 0.1.0
Getopt::Euclid is Perl module executable uniform command-Line interface descriptions. SYNOPSIS use Getopt::Euclid; if ($ARGV{-i}) { print "Interactive mode...n"; } for my $x (0..$ARGV{-size}{h}-1) { for my $y (0..$ARGV{-size}{w}-1) {...
24.58 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 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