in reply to rest function?

use Devel::Trace and/or B::Xref and figure out where sub rest is defined