http://www.perlmonks.org?node_id=1001715


in reply to Use of uninitialized value in pattern match (m//)

AFAICT, the hash $component_path is not defined in the example you gave, so $path in the get() method will also be undefined, so you are trying to pattern match against an undefined variable.
  • Comment on Re: Use of uninitialized value in pattern match (m//)