Perl Monk, Perl Meditation | |
PerlMonks |
add a line based on maxline lengthby softworkz (Monk) |
on Jul 31, 2002 at 19:38 UTC ( [id://186573]=perlquestion: print w/replies, xml ) | Need Help?? |
softworkz has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks! I wrote this script and I need some suggestions. The purpose of it is to read in each line to determine which line is the "maxline" length and take that length and add maxline length spaces and a \n at the end of the file 1. Is there a better way to do this? (shorter version maybe?) 2. Does anyone see anything wrong with the code? 3. The files are supposed to be text files run on windows..
thankz!
Back to
Seekers of Perl Wisdom
|
|