On Fri, 2 Feb 2001, Stewart, Clay wrote:
> What are the exact disadvantages of not placing 'use strict' when using DBI
> with DBD::Oracle ?
>
> I read a lot everywhere to 'use it or else', 'always use it', 'you really .
> . . really should use it' . . . but have not been able to find an
> explanation of why in detail.
Because it provides a lot of detailed warnings & errors about suspect
code, improper use of globals, etc. I also recommend the use of -w in
your bang line, which will also provide insight into errors and warnings.
Using the strict pragma can also help you answer a lot of questions abotu
why your code won't run without having to ask the question on a milaing
list. :-)
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Optimism is the content of small men in high places.
-- F. Scott Fitzgerald, "The Crack Up"