Have often wanted a way to tell whether a scalar was a number, and rolling 
a regex each time seemed wasteful given that Perl knew what it was 
anyway.  So a user-friendly way to get at the SvIOK and SvNOK results would 
be great.

The pedestrian way would be a builtin: isnum() or similar.  But we have 
enough creativity here I'm sure we can come up with something far more 
obfusc^Wconcise :-)
--
Peter Scott
Pacific Systems Design Technologies

Reply via email to