http://www.perlmonks.org?node_id=55770

snowrider has asked for the wisdom of the Perl Monks concerning the following question:

monks, I am a very new perl programmer and i do not understand why i am getting errors when i use strict; i am tring to run a very simple program just by typing the program name on the command line and i get
"use" may clash with future reserved word at day1_test.1.pl line 3. syntax error in file day1_test.1.pl at line 3, next 2 tokens "use stri +ct" "my" may clash with future reserved word at day1_test.1.pl line 7. "my" may clash with future reserved word at day1_test.1.pl line 8.
if i type perl program_name on the command line the program works just fine is this normal behavior? any help would be appreciated thanks, snowrider

Edit: 2001-03-03 by neshura