## Open Declaration

Open Declaration allows the user to search for the declaration of a specific subroutine or package.

The search first determines what is selected. If no text is selected, it attempts to find a subroutine or package name at the current cursor position. The search will fail if neither is selected.

Due to the dynamic nature of Perl programs, the search is not entirely reliable. For package names and subroutine names qualified by a package prefix, an attempt will be made to locate the appropriately named module file using the @INC path. For unqualified subroutine names, the search will first occur in the current editor and then extend to modules referenced by 'use' and (literal) 'require' statements.

If the declaration is found, it will be highlighted in an existing or new editor.