Posts Tagged ‘version’

How to find out the Tcl version

Posted: February 18, 2008 in How To
Tags: , ,

Tcl (Tool Command Language) is a very simple, open-source-licensed programming language. Tcl provides basic language features such as variables, procedures, and control, and it runs on almost any modern OS, such as Unix (Linux and non-Linux), MacOS, Windows 95/98/NT/2000/XP/…, PDA systems, and many more. But the key feature of Tcl is its extensibility.

And unlike any other scripting languages, just -v option won’t give you the version of your Tcl, there is a separate variable defined for that, tcl_version. So, just say puts $tcl_version to know your Tcl version.

There is a good Wiki for Tcl users, give a try:


How to find out the perl version

Posted: February 18, 2008 in How To
Tags: ,

Perl is acronym for Practical Extraction and Report Language. It is a general-purpose programming language invented in 1987 by Larry Wall. Originally developed for text manipulation. Perl has become extremely popular and is now used for a wide range of tasks, including web development and interface design.

If you have access to a shell prompt(Solaris, Unix/Linux), type following command to find out perl version:

perl -v

Altrernatively, you can use the following perl script to achieve the same through web:

$command=`perl -v`;
$title = “Perl Version”;

print “Content-type: text/html\\n\\n”;
print “<html><head><title>$title</title></head><body>”;

print “<h1>$title</h1>\n”;
print $command;

print “</body></html>”;