in reply to Tossing unwanted values from returned list

you can use undef instead of $trash:
(undef, undef, $foo, undef, $bar) = split(" ", $baz);
This avoids using hte dummy variables. --Dave.