As an aid to catching implicit references to package variables you can use
the pragma
 
use strict 'vars';
 
then any variable reference must be declared correctly.
If you try and use a variable which hasn't been declared then a compilation
error occurs.
 
This is very handy if you have mis-spelt variable names etc etc.
 
I am only a beginner myself so you might get a better explanation later.
Good practice to use it.
 
-----Original Message-----
From: IT Dept - Terry Honeyford [mailto:[EMAIL PROTECTED]]
Sent: 20 April 2001 10:12
To: [EMAIL PROTECTED]
Subject: RE: Use Strict







What does exactly does use strict do? 

...1. I strongly suggest using the pragma 
... 
...       use strict; 
... 
...   It will force you to write less error-prone code..... 

Reply via email to