$x->range($a, $b) Return all elements $i in $x such that $a <= $i < $b. If $a is undef, treat it as less than all elements in $x. If $b is undef, treat it as greater than all elements in $x. #### @foo = grep { something } $x->range($a, $b) $y->insert($x->range($a, $b))