| Line 178... |
Line 178... |
| 178 |
# $TESTING has been set to a binary. If true, the report is not sent via the transports, but is dumped to /tmp/sysinfo.testing.yaml
|
178 |
# $TESTING has been set to a binary. If true, the report is not sent via the transports, but is dumped to /tmp/sysinfo.testing.yaml
|
| 179 |
#
|
179 |
#
|
| 180 |
# Version 3.4.1 20191117 RWR
|
180 |
# Version 3.4.1 20191117 RWR
|
| 181 |
# Added syslog as a possible option for logging.
|
181 |
# Added syslog as a possible option for logging.
|
| 182 |
#
|
182 |
#
|
| 183 |
# Version 3.5.1 20200317 RWR
|
183 |
# Version 3.5.4 20200317 RWR
|
| 184 |
# changed so report->version will show the version of sysinfo, not the data version
|
184 |
# changed so report->version will show the version of sysinfo, not the data version
|
| 185 |
|
185 |
|
| 186 |
# find our location and use it for searching for libraries
|
186 |
# find our location and use it for searching for libraries
|
| 187 |
BEGIN {
|
187 |
BEGIN {
|
| 188 |
use FindBin;
|
188 |
use FindBin;
|
| Line 196... |
Line 196... |
| 196 |
my $sourceDir = File::Spec->catdir($FindBin::Bin);
|
196 |
my $sourceDir = File::Spec->catdir($FindBin::Bin);
|
| 197 |
|
197 |
|
| 198 |
# define the version number
|
198 |
# define the version number
|
| 199 |
# see https://metacpan.org/pod/release/JPEACOCK/version-0.97/lib/version.pod
|
199 |
# see https://metacpan.org/pod/release/JPEACOCK/version-0.97/lib/version.pod
|
| 200 |
use version;
|
200 |
use version;
|
| 201 |
our $VERSION = version->declare("v3.5.1");
|
201 |
our $VERSION = version->declare("v3.5.4");
|
| 202 |
our $DATA_VERSION = version->declare( 'v3.0.0' ); # used in sending the data file. sets version of XML/YAML data file
|
202 |
our $DATA_VERSION = version->declare( 'v3.0.0' ); # used in sending the data file. sets version of XML/YAML data file
|
| 203 |
|
203 |
|
| 204 |
# see https://perldoc.perl.org/Getopt/Long.html
|
204 |
# see https://perldoc.perl.org/Getopt/Long.html
|
| 205 |
use Getopt::Long;
|
205 |
use Getopt::Long;
|
| 206 |
# allow -vvn (ie, --verbose --verbose --dryrun)
|
206 |
# allow -vvn (ie, --verbose --verbose --dryrun)
|