in reply to Arrow Operator and questions related to Path::Class
It is actually fairly common in programming-languages for an identifier (such as "next" or "dir") to have multiple meanings depending on the context in which they are used. Furthermore, the Perl language (again, in a manner typical of its genre) defers many aspects of the name-resolution process to very late, at runtime.