in reply to unpack in incrementing variables

Might better suit you:
perl -e'printf("%08b\nb", $_) for (0..10);'
There is also a sprintf, though it probably a little slower than unpack.


Evan Carroll
www.EvanCarroll.com