There's no need to restore $PATH to its original value - unless I've been so insane as to make persistent (so-called "permanent") modifications to it.
And I'm not that insane.
I have never messed up the link to my system perl.
My mind boggles at how feeble-minded I would have to be in order to suffer the consequences you describe.