root/gs2-extensions/parallel-building/trunk/src/bin/script/perl-version.pl @ 27040

Revision 27040, 126 bytes (checked in by jmt12, 7 years ago)

A simple script that returns just the version number of Perl

  • Property svn:executable set to *
Line 
1#!/usr/bin/perl
2my $version_str = $^V;
3my ($version_number) = $version_str =~ /(\d+\.\d+\.\d+)/;
4print $version_number;
5exit;
Note: See TracBrowser for help on using the browser.