Command line arguments are not read. Get messsge that COLUMNS and LINES variables are invalid..,

Command line arguments are not read. Get messsge that COLUMNS and LINES variables are invalid…,

I have run this program on other Windows machines with no problems. When I run it in debug mode and manually assign the values to @ARGV the program works.

I deleted Perl and reinstalled it and have the same problem.

Any suggestions?

From your command line, run
mode con
to have the console report what it’s current settings are. Windows will not set an environment variable based on those values. To confirm this, check it with
set

One way to work around the problem is to create those variables manually with the set Windows command. My console reports 30 lines and 120 columns, so I could
set LINES=30
set COLUMNS=120
The other general way to avoid the use of LINES and COLUMNS is to cue the Perl code that you’re not running inside a real terminal window by setting the TERM type to something other than the default Linux VT100 mode. Windows cmd is a “dumb” terminal, so
set TERM=dumb