package A; use B; BEGIN { ... } END { ... }
Then the BEGIN blocks of B are run before the one's in A (because the compiler sees them earlier), while the END blocks of A are run after any END blocks of B (because the compiler sees the one in A after the one's in B).
In reply to Re: Execution order of END/CHECK vs BEGIN/INIT
by Abigail-II
in thread Execution order of END/CHECK vs BEGIN/INIT
by belden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |