in reply to Check to see if a variable exists
There is a recognised way of finding when your variables don't exist, and that is to insert the line
at the top of your code below the #! line. This forces all variables to be predeclared before they are used, generating compile errors to catch your tired finger typos.use strict;
On another note, you might like to try using the super search facility of the monastery, to find if similar questions have been asked before.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Check to see if a variable exists
by jpream (Initiate) on Nov 13, 2003 at 18:54 UTC | |
by hardburn (Abbot) on Nov 13, 2003 at 20:08 UTC |