use Error::Customize; $customize = sub { return $makeatimestamp->() . $_[0]; };