Hello.
One the status bar where one can see the line number, column, selection, etc. there is a value called Scope. When I am within a perl subroutine the scope is the subroutine. However, if the cursor is not within a subroutine, the scope would be the whole file but not unknown in my opinion.
Thanks for reading. LA