Chas. Owens schreef:
> Dr.Ruud:

>>       $value{ $1 } = $2 while m/^(\S+)[[:blank:]]+(\S+)/mg;
>>  or even
>>       $value{ $1 } = $2 while m/^(\S+)[[:blank:]]*(\S*)/mg;
>
> Is there a reason I am missing to use [[:blank:]] over [ \t]?

The [:blank:] matches (at least) 18 codepoints. unicount.pl:
http://www.nntp.perl.org/group/perl.perl5.porters/2007/02/msg121080.html

I prefer some of the named ones, like [:blank:] and [:punct:] and
[:xdigit:].

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to