Include Perl bitness in -ver

Started by obetz, June 14, 2020, 12:19:01 PM

Previous topic - Next topic

obetz

Hi Phil,

from 12.00 on, I provide also 64 bit versions of my ExifTool package.

I suggest to include information about the Perl version in the -ver output.

$Config{archname} might be well suited (that's the string output by perl -ver).

You might also consider to include part of my extended diagnostic of the -ver output I add to ExifTool in my package:


            if ($verbose > 8) {
                print "Current dir:    " . Cwd::getcwd() . "\n" if (eval { require Cwd });
                print "Script name \$0: $0\n";
                print "Exe name \$^X:   $^X\n";
                print "\$exeDir:        $exeDir\n";
                print "exePath:        $Image::ExifTool::exePath\n";
            }


Oliver

Phil Harvey

Hi Oliver,

Interesting idea.  Thanks.  I'll consider this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).