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

Richard Reina richard at rushlogistics.com
Sun Jul 6 19:04:56 PDT 2008


Andy,

Thanks so much for the response.  It's just a one time use, throw away script to validate data before it gets entered into a table.  I will try your "low tech" way and if it works for me I am going to run with it.

Thanks again!

Have an awesome week everybody!


---- Chicago.pm chatter <chicago-talk at pm.org> wrote:
>
> 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
> 
> 
> 
> 
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 


More information about the Chicago-talk mailing list