G
Guy
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?
Guy
#!/usr/bin/perl
$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;
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?
Guy
#!/usr/bin/perl
$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;