http://qs321.pair.com?node_id=181266


in reply to format with space

I think you're asking the same thing that I did here, a while back. If that's the case, I suggest looking into sprintf and possibly doing something like this to pad the value:

a[0] = sprintf ("%-8s%s", $value, $name)

I think that's what you're getting at ...

Zenon Zabinski | zdog | zdog@perlmonk.org