diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-23 22:48:14 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-23 22:48:14 (EDT) |
commit | 317a3ffb411a2af70c33a8b61817d2da88029379 (patch) | |
tree | f1718d6257b3ed98eb081d0fd5827dab79d5b39b /bin | |
parent | 4caf245b4d9ae0ff2c61dbde93878f7e9a1a1cce (diff) | |
download | ssic-317a3ffb411a2af70c33a8b61817d2da88029379.zip ssic-317a3ffb411a2af70c33a8b61817d2da88029379.tar.gz ssic-317a3ffb411a2af70c33a8b61817d2da88029379.tar.bz2 |
ssic: Set $VERSION.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ssic | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,6 +12,9 @@ use warnings; use Getopt::Long; use CGI::SSI; +my $VERSION; +$VERSION = '1.0.0'; + sub main { my %opts; @@ -89,7 +92,7 @@ sub version { my ($fh) = @_; - print("ssic 0.1.0\n"); + printf("ssic %s\n", $VERSION); print("Copyright (C) 2013 Patrick \"P. J.\" McDermott\n"); print("License GPLv3+: GNU GPL version 3 or later " . "<http://gnu.org/licenses/gpl.html>.\n"); |