$obj->shift() $obj->pop() #### for my $match ( @tied_result ) { # ... }