Thanks in advance,
I'd like to print only the first 25 characters of a 40 character line from error.log/@lines.
How can I output only the first 25 characters (redundant).
Happy 4th of June
I'd like to print only the first 25 characters of a 40 character line from error.log/@lines.
Code:
if (@lines) {
open FILE_LOG, ">", "error.log" or die $!;
print FILE_LOG @lines;
}
How can I output only the first 25 characters (redundant).
Happy 4th of June