Felix Geerinckx wrote at Tue, 20 Aug 2002 11:29:33 +0200:
>> or still shorter:
>> my %data = map {chomp; split /= /} `myapp`;
>
> Shorter yet:
>
> my %data = map {split /= |\n/} `myapp`;
my %data = map {split /=?\s/} `myapp`
:-)
Well, I still would prefer my first solution,
as it is mode readable
Cheerio,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
