in reply to Re^8: Perl Script
in thread Perl Script

is this a trick question? do it the way you started with open, but if you're going to do that, then use autodie ... Path::Tiny does "autodie" ... just more convenient imho

key idea is to make more subs