On 18 Jan 2007 at 7:19, Hal Wigoda wrote: > for one thing, you need to add "\n" for newline.
> > printf("%c12", $var); # prints $var12$var12
> >
> > %s seems to give me no output at all.
> >
I wouldn't want a newline in the middle of my column heading. I would
like a 12 character spacing between $var
so
foreach (my $var) {
printf("%c.12", $var); # Does work.
}
print "\n";
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
