Eric Schwartz graced us by uttering:
> If you want to print out the odd-numbered elements themselves:
> 
> foreach (@array) { print "$_\n" if $_ %2; }

As usual, one can trim some gratuitous readable characters here
and there:

    $_ % 2 and print "$_\n" for @array;

or even (and this is cheap):

    $_%2&&print "$_\n" for @array;

How's that for Ruby advocacy?  :)

Tim Hammerquist
-- 
One should always be in love.  That is the reason one should never marry.
    -- Oscar Wilde