It is used outside the subroutine, your question is actually: why is 1; used at the end of a module?
A use statement (as in use module;) evals the contents of a file. The last expression in the file must evaluate to true, or the eval dies.
UPDATE: Correction of my statement by ikegami (see below);In reply to Re: End of subroutine
by marcussen
in thread End of subroutine
by sandy_1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |