All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

1. Hardcode the path in at some fixed but easily detectable path, and do a string-replacement to tailor it to your system during the install process.

2. Tweak Strawberry Portable slightly so it uses all the normal Portable magic for most files, but uses the system paths for File::HomeDir (which currently is magicified to point into the Portable directory).

And I'm thinking that if perl.exe is not one of the files that would need patched, (i.e. trying to expand the space a string is stored in a binary) #1 would be the better option. Otherwise, #2. Maybe I'd do #1 if perl.exe needs patched if we were only changing the drive, as opposed to both the drive and directory.

The reason being it's easy enough to write a CA that does #1 in C++. (after writing the clear-files CA, I've got an idea of how to do it. Maybe use the pcre library? would have to check.)

I think

--The new Strawberry Perl for Windows has been released! Check http://strawberryperl.com for it.