in reply to Test if list is range
please use <code> tags!
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
In Section
Seekers of Perl Wisdom