[Chicago-talk] detecting whether a scalar is number or a string.

Andy Lester andy at petdance.com
Sun Jul 6 18:12:04 PDT 2008


The Big question, Richard, is why you want to know if it's a number or  
not.  What will you do based on whether it is or isn't?  Are you  
trying to validate input to a subroutine?  Then take a look at  
Params::Validate which already has solved this problem.

xoa

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the Chicago-talk mailing list