in reply to Re^2: elevated privileges for a single callin thread elevated privileges for a single call
I haven't used them myself, but take a look at Proc::ProcessTable and Proc::ProcessTable::Process — they may do what you want.
-- Ken