orient_pearl has asked for the wisdom of the Perl Monks concerning the following question:

Hi! We are planning to migrate our old web application that uses ActivePerl to Strawberry Perl. Is there any incompatibilities/issues/problem that we will encounter if we will use Strawberry Perl vs to a script created in ActivePerl? We are still on planning stage and any answers will be of great help for us to plan our migration. thank you very much!

Replies are listed 'Best First'.
Re: ActivePerl to Strawberry Perl
by Discipulus (Canon) on Jun 13, 2023 at 07:19 UTC
    Hello orient_pearl and welcome to the monastery!

    generally speaking perl is perl wherever it runs, so you should be able to run your programs almost everywhere (there are OS specific but it is not your case). Strawberry can compile and install everything on cpan, so no incompatibilities.

    Your question lacks of details and so answers cannot be more detailed.

    The real problem is your old web application and if it is not too complex I suggest you to rewrite it using a modern perl web framework like Dancer2 or Mojolicious: a bit of effort to learn them but a great advantage for future maintainence and security.

    Mojolicious has nice guides.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re: ActivePerl to Strawberry Perl
by LanX (Saint) on Jun 13, 2023 at 11:11 UTC
    If incompatibilities even happen between the same Perl version, then most likely from uninstalled modules or their differing versions. Both dists come with a bunch of preinstalled CPAN modules, so you might need to adjust.

    Different Perl versions might confront you with deprecations, such that you'll need to fix the code. But Perl tends to be extremely backwards compatible.

    You just need to test it.

    edit

    Probably trying different Perl versions in between to facilitate nailing down the deprecations.

    Cheers Rolf
    (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
    Wikisyntax for the Monastery

Re: ActivePerl to Strawberry Perl
by Bod (Parson) on Jun 13, 2023 at 21:17 UTC

    I cannot supply an actual answer but I can let you know my experience of migrating from ActivePerl to Strawberry Perl.

    No major issues at all!
    Like you, I had planned and thought and worried...but in the end there were a few modules that needed updating which were easy to identify.

    However, unlike you I am not running a web application on a Windows box. Instead, I migrated a number of standalone scripts and simple Tk applications. I seem to remember it was Tk that caused most of the few problems.