Moving & upgrading

I’ve just set up a new server I want to move RT to, and it has the new
version of perl, so I want to upgrade RT too. I was wondering what
might be the best course of action:
moving it over, getting it working, then upgrading
or
installing the new version, getting it working, then importing the data
from the old one?
Anne