Perl version 5.006001

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am using Perl scripts on a remote (web) server, and I'm just curious what
version of Perl the server has.  I would do a Perl -v if I had access to its
command prompt, but I don't.  So I ran the following scripts and it spit out
5.006001.  Have there been many upgrades since?  It's not my server so I
wouldn't be able to upgrade it anyway. But I'm just wondering if I would be
missing out of major things?

$command= $];
$title = "Perl Version";

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

print "<h1>$title</h1>\n";
print "Perl version : ".$command;

Re: Perl version 5.006001

Quoted text here. Click to load it

Um. Yes.

Perl 5.6.1 was released in 2001. There have been two major stable
releases of perl since then (5.8 and 5.10), and numerous improvements.
Now that 5.10 is considered 'stable', it's getting to the point where
CPAN authors are starting to drop support for 5.6 right and left.

You would be well advised to find some way of getting it upgraded to at
least 5.8.8 (released in 2006). 5.10.0 would be better.

See the perl*delta files in the perl source distribution (you can look
at them on for an overview of what's changed in each


Re: Perl version 5.006001

Quoted text here. Click to load it

If you can run scripts (CGI, I assume) then you _do_ have access
to a shell (command line);

print "Content-type: text/plain\n\n";
system 'perl -v';


Quoted text here. Click to load it

A whole boatload of them.

    perldoc perlhist

shows that 5.6 was released many years ago:

    5.6.0         2000-Mar-22
    5.6.1         2001-Apr-08

A lot has happened in 8 years...

Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"

Site Timeline