Hi Kare:

PDL 2.4.2 (which is all I've got installed right now) gives a correct 5 character wide field for me.

--Doug



[EMAIL PROTECTED]
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611

On Wed, 22 Nov 2006, K?reEdvardsen wrote:

Hi all,
Why does the output end up 2 character wider than specified by the
format code?

wcols "%5d", $year, 'test.dat'

gives a 7 character field width instead of a width of 5 characters.

Kare
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to