I have an idea ! Damian conway's Attribute::Types suggests "my $date : INTEGER(1..31);"
but i think "my int( 1..31 ) $date" is more like a c++/java "Integer date( 1, 31 );" and a weddig of both should fit perl6 best. Would mean: my int( 1..31 ) $var; $date = 23; # okay $date = 32; # KABOOM! I have some additional idea, when someone dislikes the tie-like behaviour: an explicit testing with print "date" if $var is int( 1..31 ); I think this suggestion should had been packed into a RFC, but when the RFC-process closed i was still in my perl baby-shoes. Murat