On Sun, January 6, 2008 12:15 pm, demerphq wrote:
> On 06/01/2008, Rafael Garcia-Suarez <[EMAIL PROTECTED]> wrote:
>> -    grep(s/^(.*)/"-I$1"/, @{$perlinc || []});
>> +    map(s/^(.*)/"-I$1"/, @{$perlinc || []});
>
> /me wonders why that wasnt
>
>
> s/^(.*)/"-I$1"/ for @{$perlinc || []};
>
> or even
>
> $_=qq("-l$_") for @{$perlinc || []};

Especially if there are pesky newlines in the paths.

Reply via email to