in reply to Perl + binary

There are no dumb questions, only dummies, that do not ask.

Replies are listed 'Best First'.
Re^2: Perl + binary (is module binary)
by Anonymous Monk on Oct 30, 2013 at 22:31 UTC

    Is there a quick & easy way to check if a module is pure-Perl, or is Perl+binary for both CPAN and core modules?

    No. Well kinda. Sure-fire-way is to look at he source.

    Cheap tricks

    $ perl -MCGI -MDBI -le " print for grep /CGI|DBI/, keys %:: " _<DBI.c _<DBI.pm _<DBI.xs _<C:/citrusperl/site/lib/auto/DBI/DBI.dll CGITempFile:: CGI:: DBI:: _<C:/citrusperl/lib/CGI/Util.pm

    so DBI.dll/DBI.xs/DBI.c means DBI is binary, lack of .c/.xs/.dll/.so means CGI is pure-perl