Nice article, looks very similar to getting a list of values from a table and looping through them.
This is one of the things which I don't like about SSIS, sometimes it feels as if you're having to go through a lot of steps to acheive something which should be very straightforward.
In a perfect world you would be able to assign an output from an SP or function directly to a variable of the right data type.
Maybe with a custom script object in a package this could be done, I'll have to have a look 😎
A quick note on the layout of the article, I'm viewing it using IE7 and the code sections are fragmented with each line being in its own blue block. Very strange and never had this problem before on SSC.