A man who helped supply Matthew Perry with the doses of ketamine that killed the "Friends" actor was sentenced on Wednesday to two years in prison.