>>>>> "JG" == Joe Gottman <[EMAIL PROTECTED]> writes:

  JG>   Speaking of which, is there a run-time test to check if a variable is of
  JG>  integral type?  Something like

  JG>  print "date" if ($var is int) && (1 <= $var <= 31);

the old standby is:

        int( $var ) == $var

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
Damian Conway Perl Classes - January 2003 -- http://www.stemsystems.com/class

Reply via email to