N-Soliton Solutions for the NLS-like Equation and Perturbation theory based on the Riemann--Hilbert Problem