in reply to Re: Using Win32::Console
in thread Using Win32::Console

Actually, I tried it with and without the parens. Agreed, no bearing. I have Strawberry 5.26.0. I do not know how to get the version of Win32. I do not recall if I installed it at the same time as Perl or later. A line in \strawberry\perl\lib\win32API\File.pm says $VERSION='0.1203";

Yesterday, I downloaded the current version from CPAN. Several places there refer to version 07 April 1997. But I do not know how to install the new one. The makefile in that download does not work. Somewhere there says to run "install bat" and "test.pl", but I see no such files.

Replies are listed 'Best First'.
Re^3: Using Win32::Console
by marto (Cardinal) on Apr 03, 2018 at 13:25 UTC

    If you want to find the version of a module from the command line:

    perl -MSome::Module -le "print $Some::Module::VERSION";

    Or:

    cpan -D Some::Module

    Similarly to install modules, Strawberry ships with cpanm, so to install a module and it's dependencies:

    cpanm Some::Module
Re^3: Using Win32::Console
by LloydRice (Beadle) on Apr 03, 2018 at 13:16 UTC
    There must have been an error in my first script. I rewrote the file and it seems to be OK. Thanks for the advice.