cperl-after-sub-regexp

cperl-after-sub-regexp is a compiled Lisp function in `cperl-mode.el'.

(cperl-after-sub-regexp NAMED ATTR)

Match the text after `sub' in a subroutine declaration.
If NAMED is nil, allows anonymous subroutines. Matches up to the first ":"
of attributes (if present), or end of the name or prototype (whatever is
the last).