Okay - got it. It now works prefacing $str = .. with my. Thanks everyone.
-----Original Message----- From: Andrew Gaffney [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Re: Problem with use strict; MCMULLIN, NANCY wrote: > But when I run the same code with use strict commented out - it works just fine... 'use strict' enforces the use of 'my' or 'our' for variable declarations. If a variable declaration doesn't have that while 'use strict' is in effect, the program won't compile. -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>