your right. My apolgies. How is this: printf("%-20s%5s %6s\n", $name, $in, $total);
might have to adjust somewhat, the first string is lef justifed with the '-'. > -----Original Message----- > From: Nikola Janceski [mailto:nikola_janceski@;summithq.com] > Sent: Thursday, October 31, 2002 2:48 PM > To: 'Kipp, James' > Subject: RE: howdo I make output from a print statement look pretty? > > > that wasn't very nice. > If you are going to be helpful at least tell them where the docs are. > > perldoc -f printf > perldoc -f sprintf > > would have told him little information more than you did. > > I could have given that answer myself but I am preoccupied at > the moment. > > > -----Original Message----- > > From: Kipp, James [mailto:James.Kipp@;mbna.com] > > Sent: Thursday, October 31, 2002 2:42 PM > > To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] > > Subject: RE: howdo I make output from a print statement look pretty? > > > > > > printf() > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:bengleto@;calpoly.edu] > > > Sent: Thursday, October 31, 2002 2:34 PM > > > To: [EMAIL PROTECTED] > > > Subject: howdo I make output from a print statement look pretty? > > > > > > > > > Hello All, > > > > > > The Code in question: > > > print "$name $in $total \n"; > > > > > > Output: > > > > > > Jon Doe 12000 150000 > > > Mr. Ihavealongname 15000 200000 > > > > > > > > > > > > > > > I want it to look like this > > > > > > Jon Doe 12000 150000 > > > Mr. Ihavealongname 15000 200000 > > > > > > > > > > > > could you explain any solutions you might have....I'm new to this > > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]