You will also see this one, or any other true value ending packages in the middle of a file if there are several packages in the same one.
You are correct that you will see this, but it's utterly unnecessary. The true value is there to placate "require." It has absolutely nothing to do with "package." Ending every package with "1;" is like buying a ticket on the Cargo Cult Express.
-sam
In reply to Re: Re: How to end a Perl script
by samtregar
in thread How to end a Perl script
by belize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |