8:56 AM
I only made it for myself, wasn't planning on posting it. But then there was a TIO link that wouldn't load properly. Used my script on it and was able to read its contents; recompressed it, and saw that the poster had typo'ed the pasted link by adding an extra character at the end. So, spur of the moment decision, decided it could be useful to other people and pasted it here.
@Pavel Could you be more specific about what your suggestions would be to make it better?
I really have no idea what you mean by "no warnings or strict".
Wrote it in the first place because I was worried about @Dennis being unresponsive. Theoretically TIO could go down completely, and then the only way to recover the contents of links would be a something like this.
And used Perl because it was the first Google result I found for a way to do raw inflate without downloading dependencies I didn't have.