in reply to How to change compiler options used by cpan ?

It has always been my impression that the ActiveState team is more-or-less trying to deploy a system that requires no CPAN “intervention,” whereas the Strawberry team assumes that you do know about the cpan command and that you are quite likely and willing to use it.   It just might be that you are straying outside of the ActiveState designers’ intended scope.   (But of course, I do not know the members of either group, nor do I intend to speak for them...)

Both of these strategies, I think, make perfect sense... and they are intrinsically different.   Each team seems to have made “sensible, but sensibly different,” choices, and your choices might now be running counter to ActiveState’s, IMHO.   If you want to do what you seem to be wanting to do, you might find Strawberry to be more conducive and forgiving, whereas you might actually break ActiveState.   (Every good strategy has its price.)

Replies are listed 'Best First'.
Re^2: How to change compiler options used by cpan ?
by flamey (Scribe) on Mar 01, 2011 at 22:07 UTC

    all that may be, but something "brake" (changed) my config automatically, I assume it happened during some module install via cpan. what i find strange is that i can't find anyone who knows how to change config manually, neither here, nor on irc

    what i find even more weird, and even annoying, is that here is a challenge, and all i can get out of people is "reinstall" or switch to another tool (which in this case the same thing). i know i can do that. but you know what guys, my AS Perl install at work works great, and has been for maybe as long as this broken one. there's no guarantee strawberry will work any better, and there's no need for strawberry specifically. i'm not switching. not until i learn what wrong now, anyways

      If you want to mess with the compiler options (i.e. what you'd get with perl -V:ccflags), you can edit the respective entry in Config.pm, or more specifically Config_heavy.pl.

      Run the following command to find out where those files are located:

      perl -MConfig -E "say $Config{ccflags}; say for sort values %INC"

      (I'm not convinced this will get you anywhere, but as you asked...   And don't forget to make a backup copy first.)