$SIG{ALRM} = \&Classname::method; # update: no parens, force of habit. Thanks bbfu. #### $SIG{ALRM} = sub { Classname->method() };