--- In perl-beginner%40yahoogroups.com">perl-beginner
yahoogroups.com, Robert Brown <rdabman4
...> wrote:
>
> Does anyone know how to check for numeric or alpha on a scalar or
does one have to check every character for /0..9/ or /a..z/ or /A..Z/?
Is there a built-in function for this?
>
> Bob
a regular expression, something like ^[a-zA-Z]+$ would help you to
check if the scalar is all alphabetic or not (the ^w+$ won't be useful
as w matches alphanumeric)
yogesh
.