in reply to Re^2: var comparison
in thread var comparison
If your list of possible values gets long, you could store them as keys of a hash and then check for existence or definedness in the hash.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: var comparison
by nemesisgus (Acolyte) on Sep 08, 2012 at 18:32 UTC | |
by LanX (Saint) on Sep 08, 2012 at 18:42 UTC | |
by nemesisgus (Acolyte) on Sep 09, 2012 at 02:03 UTC | |
by Anonymous Monk on Sep 09, 2012 at 08:47 UTC | |
by nemesisgus (Acolyte) on Sep 09, 2012 at 18:40 UTC |
In Section
Seekers of Perl Wisdom