in reply to skipping unwanted list items

Yes, and LanX provided the docs. You can also use a list slice (( LIST )[ LIST ]).

my ( $y, $m, $d ) = ( localtime )[ 5, 4, 3 ]; ++$m; $year += 1900;

Replies are listed 'Best First'.
Re^2: skipping unwanted list items
by harangzsolt33 (Curate) on May 10, 2026 at 12:47 UTC
    This is really neat. I didn't know you could do this. Thank you!