You could use Cpanel::CachedCommand::cachedcommand here as it would keep the data cached as long as the binary did not change.