Main > Programming > Interpreters >

Program Version Switch 1.03

Program Version Switch 1.03

Sponsored Links

Program Version Switch 1.03 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.075 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1680
Date added: 2005-04-15
Publisher: mws

Program Version Switch 1.03 description

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.
Enhancements:
- Fixed a bug which could cause segmentation violation.

Program Version Switch 1.03 Screenshot

Advertisements

Program Version Switch 1.03 Keywords

Bookmark Program Version Switch 1.03

Hyperlink code:
Link for forum:

Program Version Switch 1.03 Copyright

WareSeeker periodically updates pricing and software information of Program Version Switch 1.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Program Version Switch 1.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Sort::Versions is a Perl 5 module for sorting of revision-like numbers. Free Download
Module::Versions is a Perl module to handle versions of loaded modules with flexible result interface. Free Download
NetServer::Generic is a Perl module that implements an object-oriented interface for developing internet servers. Free Download
RiveScript is a Perl module that allows you to rendering intelligence very easily. Free Download
POE::Session::Cascading is a Perl module with stack-like POE sessions. Free Download
Convert::Scalar is a Perl module that can convert between different representations of perl scalars. Free Download
httptype is a program that returns the http host software of a website. Free Download
czxNetSwitch is a profile based network manager. Free Download