From 0adb7fdb616f8f7ca80c7261e93e6dec0f0b9c37 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Nov 2010 14:18:26 +0000 Subject: separated VERSION and COPYRIGHT --- cpuload.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpuload.pl b/cpuload.pl index 04d41c2..8714e03 100755 --- a/cpuload.pl +++ b/cpuload.pl @@ -21,7 +21,8 @@ use constant { HEIGHT => 200, DEPTH => 8, PROMPT => 'cpuload> ', - VERSION => 'cpuload v0.1 2010 (c) Paul Buetow ', + VERSION => 'cpuload v0.1', + COPYRIGHT => '2010 (c) Paul Buetow ', }; $| = 1; @@ -334,7 +335,7 @@ sub main (@_) { @hosts = 'localhost' unless @hosts; my ($display, @threads) = create_threads @hosts; - say VERSION; + say VERSION . ' ' . COPYRIGHT; say "Type 'h' for help menu"; print PROMPT; -- cgit v1.2.3