Think about Loose Coupling | |
PerlMonks |
Re: C++ files in Strawberry Perl Packageby syphilis (Archbishop) |
on Jun 08, 2021 at 11:37 UTC ( [id://11133655]=note: print w/replies, xml ) | Need Help?? |
When I deleted the c folder, my Perl scripts failed. I would not have expected that - but it could depend upon what those scripts are wanting to do. What are these failures that you are seeing ? When I install Strawberry Perl, I always install one of the "portable" builds - and, if I remove the "c" directory, perl still works. Maybe things are different if you install Strawberry Perl from the ".msi" distro. AFAIK, Strawberry Perl needs only 3 files from c/bin in order to be functional - libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll. If those 3 files are duplicated in perl/bin (as is the case with the "portable" builds) then you should be able to remove the "c" folder entirely. Of course, you will then lose some functionality if you do that. For example, Inline::C will be unusable and you won't be able to install many modules because you've lost gmake.exe and other handy utilities. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|