At 12:46 PM 7/10/02 -0400, Kipp, James wrote:

> >
> > The only problem seems to be the
> > use strict;  directive
> > if I take this out it works fine
> >
> > So I guess I need to know if the use strict; directive is really
> > necessary and if so how do I get around it?
>
>either take it out or declare ALL of your variables.

Taking it out is not an option for anyone less than a guru, or for 
anything more than 20 lines long, or for any kind of production 
code.  (Yes, IMHO, if you insist.)  My students see it in every program 
I show them, from Hello World onward.  I tell them that if anyone gives 
them code without it to maintain, they should refuse if at all 
possible.  Later on I show the beginners a nasty example of the 
consequences of leaving out use strict, -w/use warnings, or both.

(I do so wish they were on by default and required a command line flag 
to turn off... fought that battle, lost :-( )

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to