in reply to Why not support this syntax?
I will never understand what is wrong with writing a simple subroutine like:
sub in_open_range { my ($x, $min, $max) = @_; return ($min < $x && $x < $max); }
Why do they all want to modify the Perl parser? Is it not complicated enough?
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why not support this syntax?
by scott (Chaplain) on Apr 24, 2001 at 18:34 UTC | |
|
Re: Re: Why not support this syntax?
by clemburg (Curate) on Apr 24, 2001 at 18:47 UTC | |
by tadman (Prior) on Apr 24, 2001 at 19:05 UTC | |
by clemburg (Curate) on Apr 24, 2001 at 19:29 UTC | |
by MeowChow (Vicar) on Apr 24, 2001 at 20:12 UTC | |
by scott (Chaplain) on Apr 30, 2001 at 18:13 UTC |