On Mon, 14 Oct 2002 20:19:10 -0400 (EDT), [EMAIL PROTECTED] wrote:
>
>Someone have a more "perlish", elegant, or just plain faster way of doing
>something like this: split a string on white space, pop off the last 4
>fields (perhaps to be used elsewhere), and then "rebuild" the original
>string with the correct amount of intervening whitespace.

(@bollocks[3,2,1,0], $want) = map scalar reverse, split ' ', reverse($in), 5

Reply via email to