On 02/23/04 09:42, J Ingersoll wrote:
HI

One local resident perl expert (speaking at a LUG) suggested modifying use
of the strict pragma with vars, as in :

#!/usr/bin/perl -w
use strict vars;

I find however that it's necessary to put 'vars' in quotes to avoid a
warning message, viz.:

          Unquoted string "vars" may clash with future reserved word at
/usr/local/bin/srns line 2.

When I mentioned the need for quotes, neither the teacher nor any perl
user in the LUG meeting was aware of such restriction.

Maybe they don't read the documentation. Tell them to take a look at the synopsis in 'perldoc strict'. Quotes are required.


Randy.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to