Subject: | "--version" prints an error message |
Hi,
When running "module-starter --version", I get "Use of uninitialized value in concatenation (.) or string at module-starter line 59."
I'm running Module::Starter version 1.38 . Line 59 is:
version => sub { print "module-starter v$Module::Starter::VERSION\n"; exit 1; },
The problem seems to be that Module::Starter is not "used" anywhere, nor is it "required" before this line. so $Module::Starter::VERSION ends up being an empty string.
I would have sent a patch, but I am confused about what version to print - always that of Module::Starter, or the selected backend? If the selected backend, I guess Starter.pm needs to be patched to provide a version method, or should something else be done?
Also, --version, --plugin and --class are not documented in the SYNOPSYS section. Is that on purpose?
Hope this helps,
Offer Kaye