in reply to Re: deleting elements in nested hash structure
in thread deleting elements in nested hash structure
if ( $tss{ $ids[ $first ] }{ start } > $tss{ $ids[ $second + ] }{ stop } or $tss{ $ids[ $first ] }{ stop } < $tss{ $ids[ $seco +nd ] }{ start } ){ # No Overlap }else{ push @toDelete, $ids[ $first ]; # <<<< Note: changed $ +first to $ids[first] last; # <<<< Added 'last' to avoid deleting $ +first multiple times }
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: deleting elements in nested hash structure
by BrowserUk (Patriarch) on Jun 02, 2012 at 20:06 UTC | |
by NetWallah (Canon) on Jun 02, 2012 at 23:28 UTC | |
by BrowserUk (Patriarch) on Jun 02, 2012 at 23:37 UTC |