--- Smylers <[EMAIL PROTECTED]> wrote:
> 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

Superpositions in the core? You're kidding, right?

What's wrong with "if 1 <= $var <= 31"?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to