in reply to HTML::Calendar alternative

it requires compiler access

Are you sure? I don't immediately see anything in there which requires compilation.


🦛

Replies are listed 'Best First'.
Re^2: HTML::Calendar alternative
by choroba (Cardinal) on Mar 12, 2021 at 13:46 UTC
    It depends on Date::Simple which contains an XS file.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      Indeed it does. However, the Date::Simple Makefile.PL shows that simply specifying a noxs argument should avoid that and build a pure-perl version instead.


      🦛

        Thanks hippo

        How can I get cpan or cpanm to use the noxs switch when it calls Makefile.pl. The question has been asked before but doesn't seem to have an answer - How to pass options to Makefile.PL when using cpanm?

        I've tried cpanm Date::Simple --force and cpanm Date::Simple noxs but it's not that simple...

        Also I've tried to follow this article but cannot find where Makefile.pl is located to run it directly.