in reply to Subs with 'extra stuff'?

I haven't seen it mentioned yet, but this is documented in perlsub. See the "Subroutine Attributes" section for all the gory details.

Update: oops, I just noticed from the OP:

I've read perldoc perlsub and perldoc attributes

Apologies for not reading the entire post.