I haven't tried this yet, but it looks like a very handy skill to know, especially if you forget to pack your needles into your backpack before coming to the library.  Click here for the tutorial found at Folksy.