in reply to Re^3: To Framework or not to Framework
in thread To Framework or not to Framework

You can directly install Pure-Perl modules from CPAN as those don't require any separate compilers.

I'm not sure I can install them via cPanel but, yes, I have in the past downloaded the Perl source and installed it in the appropriate subdirectory of the cgi-bin. My guess is that Mojolicious or one/some of its dependencies won't be pure Perl but worth a try.

Thanks for the list...very helpful :)

Replies are listed 'Best First'.
Re^5: To Framework or not to Framework
by marto (Cardinal) on Nov 24, 2020 at 10:40 UTC

    "My guess is that Mojolicious or one/some of its dependencies won't be pure Perl"

    As mentioned earlier "Very clean, portable and object-oriented pure-Perl API with no hidden magic and no requirements besides Perl 5.26.0 (versions as old as 5.16.0 can be used too, but may require additional CPAN modules to be installed)", you don't have to guess ;)

Re^5: To Framework or not to Framework
by pryrt (Abbot) on Nov 23, 2020 at 23:26 UTC
    I'm not sure I can install [Pure-Perl modules from CPAN] via cPanel

    FWIW, on my shared host with cPanel, I've even installed XS-based modules via cPanel. At one point, they upgraded perl (thus obsoleting the compiled modules I had already installed) and disabled gcc access; but one trouble-ticket later, and it was re-enabled, and cPanel would let me install those modules again. So cPanel itself isn't enough of a hurdle to prevent installing pure-Perl or even XS modules. But yes, some hosts who use cPanel might not be so friendly and allow you to install XS modules

    And even outside of cPanel's interface: since you can use lib ... in your script, you can upload Pure-Perl modules someplace in your user hierarchy, and direct your script to load modules from there.

      Some years ago UK2 allowed compiler access then one day I went to install a module and found I couldn't. A support ticket revealed the answer that the compilers had been disabled for shared hosting. I might try again with another support ticket.

      Another reason that I should really change to VPS - besides not being sure that a dedicated server is not a better option, the only thing stopping me going to VPS hosting is the work migrating websites and the potential for business interruption as our bespoke CRM (written in Perl) is hosted there along with three business websites.

Re^5: To Framework or not to Framework
by hippo (Archbishop) on Nov 24, 2020 at 10:26 UTC
    My guess is that Mojolicious or one/some of its dependencies won't be pure Perl

    I'm not sure on what basis you are making that guess. I am not a Mojolicious user but am well aware that their philosophy is not to have any dependencies. I've not seen anything from a cursory glance at the source to suggest that it isn't pure Perl either.


    🦛

      I didn't think that through did I?
      I was actually reckoning that because Mojolicious is so encompassing and powerful, it must have some dependencies but, the tin actually says otherwise..