Murat Ünalan wrote: > print "date" if $var is int( 1..31 );
I don't think that the type needs to be specified here, especially if the variable has already been declared to be of the required type, so a junction should be sufficient: print "date" if $var == any(1 .. 31); Smylers