Keep It Simple, Stupid | |
PerlMonks |
Re^2: Count and print in perlby kanikas16 (Initiate) |
on Apr 17, 2017 at 11:25 UTC ( [id://1188123]=note: print w/replies, xml ) | Need Help?? |
my problem is how to split the file and how to print in defined format.
I have tried this
<$str_len = length($line1);
if($str_len > 72){
my @split_line = unpack("(A32)*" , $line1); >
But it is not solving my problem.because after 11 count one character is incrementing so not printing aligned format.
In Section
Seekers of Perl Wisdom
|
|