Removed $ for globals; fixed Net::HTTP post