Great!
If it was a valid set of creds then it would be quite difficult to diagnose as it would have likely been an issue with the perl module.
As for the sample, did you use the ConfigSync sample in the SDK as a basis for yours? If you did that your self, then you picked one of the more complicated methods to use as it requires multiple calls in a loop which isn't very intuitive. Glad to hear things are working!
You might want to hop over to my blog to check out my iControl related postings (
Click here). I've got some good perl goodies in there.
And, if you are using BIG-IP v4.x, then I've got a tech tip on the ConfigSync interfaces in the tech tips (
Click here)
Good luck and keep in touch!
-Joe