Wagner, David --- Senior Programmer Analyst --- CFS wrote: > I thought I had done this before, but I guess not. I build a formt line > for printf like: > q[%-3s%-4s%5s%6s]; > But I want to insert a carriage return after say %-4s( I have a nubmer > of fields and depending on the size, it is not a constant after column 2, but > could be column 3 or 23. > > I have tried: > q[%-3s%-4s] . qq[\\n] . q[%5s%6s]
q[%-3s%-4s] . qq[\n] . q[%5s%6s] Also: qq[\%-3s\%-4s\n\%5s\%6s]; -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/