I've used perl directly on various Android devices (phones and tablets) without issue with cc tools. I always run cyanogenmod, and have done since the first version of hardware that supported Android. Faster, cleaner, smaller footprint, no bloatware.
Windows 10 is a train wreck, I'm glad I only have to support close family who run it. You don't mention what you've done and what happens (How do I post a question effectively?), so I can only advise removing the drivers you have, head over to XDA developers, install the adb/fastboot tools package, transfer the files you need to work with via adb, do what you have to on your computer. Failing that get a vendor win 10 driver or at least try the generic google drivers out there. The adb route will be the quickest method of getting the job done, so far as I un derstand it.
Update: fixed typos, added link.