diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-07 14:18:26 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-07 14:18:26 +0000 |
| commit | 0adb7fdb616f8f7ca80c7261e93e6dec0f0b9c37 (patch) | |
| tree | 675fedcba0067c80b457d8cd2da3e297bd469459 | |
| parent | 1f14d4d56a74e160c4609780921a7faa73b629e1 (diff) | |
separated VERSION and COPYRIGHT
| -rwxr-xr-x | cpuload.pl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,7 +21,8 @@ use constant { HEIGHT => 200, DEPTH => 8, PROMPT => 'cpuload> ', - VERSION => 'cpuload v0.1 2010 (c) Paul Buetow <cpuload@mx.buetow.org>', + VERSION => 'cpuload v0.1', + COPYRIGHT => '2010 (c) Paul Buetow <cpuload@mx.buetow.org>', }; $| = 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; |
