It is so that the convention of ending a module with 1; won't trigger a warning. Modules must return truth, and it's common practice to put a 1; on the last line to satisfy this criteria.
See perlmod for supporting documentation.
Dave
In reply to Re: Why no warnings for 1 in void context?
by davido
in thread Why no warnings for 1 in void context?
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |