This file was copied verbatim from the perl-mode.el packaged with my version of Emacs (24.3 packaged for Ubuntu 13.10). It is meant to be loaded instead of the regular perl-mode.el.
if pp_init_attr is running, we know that the method body uses this attribute, so it's safe to die in pp_init_attr if we're calling a class method. this eliminates a bunch of the magic stuff that was otherwise necessary
Currently, this only happens in list context.
with the custom op peep, the provided oldop is one of the children of the custom op we're trying to remove, so we can't actually remove the custom op with all its children this way - we need to modify op_next in an earlier op to get everything