[EMAIL PROTECTED] wrote:
Is there a simple way to reject any string that has extended characters in it? In other words, only accept the 88 (I think it's 88) regular keyboard characters and numbers. I can't find a simple way to do this.
Does this help? if($string !~ m/^\w+$/) { die "I hate extended characters"; }
Of course \w+ is letters , numbers, and underscores only, you will need to add any other characters you want tot he regex but that should get you started eh?
Lee.M - JupiterHost.Net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>