in reply to Tossing unwanted values from returned list
my ( $foo, $bar ) = ( split " ", $baz )[2,4]; [download]
Hard to see how it could get much better than that...