Define main's END block before using the module to reverse their order,
END { print 'End of main.', $/; } use SomeModule; # ... __END__ End of SomeModule End of main
After Compline,
Zaxo
In reply to Re: Order of END blocks
by Zaxo
in thread Order of END blocks
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |