in reply to Possible looping or syntax error
if (param()) { my %values; $values{$_} = param($_) for qw( name search ); if ($values{search} eq 'Exact') { if ($values{name}) { if (exists $snailmail{$values{name}}) { } else { } } } elsif ($values{search} eq 'All') { } }
This makes sure you only enter keynames in once. The more times you type something, the more likely it is you will typo something.
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Possible looping or syntax error
by chromatic (Archbishop) on Dec 23, 2003 at 20:06 UTC | |
by dragonchild (Archbishop) on Dec 24, 2003 at 13:51 UTC |