I did the perl ones, too. But if you do that while transferring to another rack, datacenter or even another machine, you can ease up the DB bit.
I just dumped the db_ispconfig db with all necessary parameters (encoding etc.), did the perl one-liner again (on the sql file) and just reinserted it. It' fast and you even have a backup consisting the new IPs in it.