in reply to Test if list is range
No, there is (unfortunately) no range datatype, the range operator does only create a list in list context.
If you need ranges as types , consider creating an object or tie handling the behavior you want.
You could also try one of the cpan modules for ranges.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test if list is range
by Anonymous Monk on Sep 30, 2012 at 01:07 UTC | |
by LanX (Saint) on Sep 30, 2012 at 11:45 UTC | |
by Anonymous Monk on Sep 30, 2012 at 11:51 UTC |