in reply to format with space
a[0] = sprintf ("%-8s%s", $value, $name)
I think that's what you're getting at ...
Zenon Zabinski | zdog | zdog@perlmonk.org