in reply to "Use of uninitialized value" with many variables
would be better. If you use a hash, you can also assign to a hash key at any time, so just declare the hash my %txt = (); and then when you want to set a key/value pair, do $txt{key} = "value";my %txt = ( AnniversaryDate => '', BithDate => '', EmailAddr => '', FaxNo => '', MobileNo => '', ... );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: "Use of uninitialized value" with many variables
by gwadej (Chaplain) on Oct 06, 2003 at 03:04 UTC | |
by Aristotle (Chancellor) on Oct 06, 2003 at 03:14 UTC | |
by CombatSquirrel (Hermit) on Oct 06, 2003 at 07:59 UTC | |
by gwadej (Chaplain) on Oct 06, 2003 at 03:27 UTC |