What is the value of $componentName, and what are the values of %component_path? The error message suggests that $component_path{ $componentName } is uninitialized, which likely means that the value of $componentName is not what you expect it to be.
I recommend printing out the value of $componentName.
In reply to Re: Use of uninitialized value in pattern match (m//)
by Corion
in thread Use of uninitialized value in pattern match (m//)
by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |