open(NPBXNUM1, ">npbxnum1"); open(MYINPUTFILE, "npbxnum"); while (<MYINPUTFILE>) { chomp; $line .= '_' x (4 - length $line); } close(MYINPUTFILE); close(NPBXNUM1); system "mv npbxnum1 npbxnum";
In reply to Re^2: How to have perl check line length
by ddrew78
in thread How to have perl check line length
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |