plendid has asked for the wisdom of the Perl Monks concerning the following question:
An elementary question for your response. I'm attempting to succinctly determine if $frequency falls between 10 and 15. Why doesn't,
my $frequency = 12; if ($frequency == 10 .. 15) {print "Yes"}
return "Yes"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: querying a range of values
by Marshall (Canon) on Jan 12, 2010 at 22:42 UTC | |
by plendid (Sexton) on Jan 13, 2010 at 12:24 UTC | |
|
Re: querying a range of values
by jwkrahn (Abbot) on Jan 12, 2010 at 21:45 UTC | |
|
Re: querying a range of values
by Anonymous Monk on Jan 12, 2010 at 21:40 UTC | |
|
Re: querying a range of values
by toolic (Bishop) on Jan 12, 2010 at 21:46 UTC | |
by jwkrahn (Abbot) on Jan 12, 2010 at 21:53 UTC | |
by toolic (Bishop) on Jan 14, 2010 at 01:47 UTC |