in reply to Easy script question

In addition to your error pointed out by pryrt, I would suggest that it probably does not make very much sense to have a shebang line with Windows. Except, of course, that it enables you to use the -w flag. But it is probably better to use the use warnings pragma and to start your program with:
use strict; use warnings;

Replies are listed 'Best First'.
Re^2: Easy script question
by haukex (Archbishop) on Mar 01, 2018 at 20:50 UTC