develooper Front page | perl.beginners | Postings from May 2008

Re: another help on input record separator clarity please

Thread Previous | Thread Next
From:
Chas. Owens
Date:
May 3, 2008 13:41
Subject:
Re: another help on input record separator clarity please
On Sat, May 3, 2008 at 6:40 AM, Dr.Ruud <rvtol+news@isolution.nl> wrote:
snip
>       $value{ $1 } = $2 while m/^(\S+)[[:blank:]]+(\S+)/mg;
>
>  or even
>
>       $value{ $1 } = $2 while m/^(\S+)[[:blank:]]*(\S*)/mg;
snip

Is there a reason I am missing to use [[:blank:]] over [ \t]?

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About