in reply to Re^7: Memory consumption of forks on exitin thread Memory consumption of forks on exit
An END block is not a sub. Take sub off.
The parser allows sub <SPECIALNAME>; it's not an error.