P is for Practical | |
PerlMonks |
Re: Cutting text from the end of the file and adding it to the topby Athanasius (Archbishop) |
on Sep 30, 2019 at 07:40 UTC ( [id://11106862]=note: print w/replies, xml ) | Need Help?? |
Hello oysterperl, and welcome to the Monastery! I assume the repetition of “8” in the desired output is a mistake? If so, the following script should give you an idea of how to proceed:
Output:
I don’t know what you mean by “All the rows need to be filled” though. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|