I have a Perl script I'm still trying to debug and in the process I've noticed that it behaves differently running under ActivePerl and Strawberry Perl.
This has led me to wonder how a Perl script might detect under which of these flavours it is running.
You can examine how both perls have been compiled with
perl -V
Once you find what difference is causing your problem, you can detect specific feature using Config package. To list all settings:
perl -MConfig -MData::Dump -e "dd \%Config"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With