XP is just a number | |
PerlMonks |
Re: Delete last line of file with regexby ForgotPasswordAgain (Priest) |
on Jul 23, 2020 at 01:38 UTC ( [id://11119689]=note: print w/replies, xml ) | Need Help?? |
If it's not a huge file, I'd use File::Slurp (or maybe File::Slurper if the issues it fixes are relevant for your case).
In Section
Seekers of Perl Wisdom
|
|