#323: GetComponents overwrites thorn list ----------------------------+----------------------------------------------- Reporter: eschnett | Owner: eric9 Type: defect | Status: accepted Priority: critical | Milestone: Component: GetComponents | Version: Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by eric9):
It seems this will actually be a bit more complicated than I thought, given the current structure of GetComponents. Unless the user passes the --root option, I don't know where the source tree is located. That means I won't know the value of $ROOT until some point during the parse_list subroutine, while I'm looping through the component lists. I'm pretty sure that Perl won't let me add to that list while looping through it, so I think I'll have to rework the parse_list subroutine a bit to finalize this change (it needs it anyway....)
I'm open to other suggestions though.