david wrote: > Bob Showalter wrote: > > > > $error = "Message required" unless $text =~ /[:alpha:]/; > > > > is this a new syntax? or should it be: > > $error = "Message required" unless text =~ /[[:alpha:]]/;
Nope, you're right. Sorry 'bout that. The POSIX character classes must appear within a character class []. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]