Alt-Acme-Math-XS-ModuleBuild

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        use Acme::Math::XS;

        print "2 + 2 = ${\add(2, 2)}\n";

DESCRIPTION
    This is a tiny example "XS" module. It was written to show how one would
    write the same thing using Inline::Module, Inline, Inline::C and
    Inline::CPP.

    It has a pure "XS" version and "Alt"(ternate) modules for all the common
    CPAN module frameworks.

    The source code for all these modules is in one git repository, on
    separate branches: <https://github.com/ingydotnet/acme-math-xs-pm>

SEE
    Acme::Math::XS
        Pure XS version, shipped with ExtUtils::MakeMaker.

    Alt::Acme::Math::XS::EUMM
        Inline::Module (using Inline::C) version shipped with plain old

inc/Acme/Math/XS/Inline.pm  view on Meta::CPAN

# DO NOT EDIT
#
# GENERATED BY: Inline::Module 0.30
#
# This module is for author-side development only. When this module is shipped
# to CPAN, it will be automagically replaced with content that does not
# require any Inline framework modules (or any other non-core modules).
#
# To regenerate this stub module, run this command:
#
#   perl -MInline::Module=makestub,Acme::Math::XS::Inline

use strict; use warnings;
package Acme::Math::XS::Inline;
use Inline::Module stub => 'v2';
1;

inc/Inline/Module.pm  view on Meta::CPAN

sub proxy_module {
    my ($class, $module) = @_;

    return <<"...";
# DO NOT EDIT
#
# GENERATED BY: Inline::Module $Inline::Module::VERSION
#
# This module is for author-side development only. When this module is shipped
# to CPAN, it will be automagically replaced with content that does not
# require any Inline framework modules (or any other non-core modules).
#
# To regenerate this stub module, run this command:
#
#   perl -MInline::Module=makestub,$module

use strict; use warnings;
package $module;
use Inline::Module stub => '$API_VERSION';
1;
...

lib/Acme/Math/XS.pod  view on Meta::CPAN


    print "2 + 2 = ${\add(2, 2)}\n";

=head1 DESCRIPTION

This is a tiny example "XS" module. It was written to show how one would write
the same thing using L<Inline::Module>, L<Inline>, L<Inline::C> and
L<Inline::CPP>.

It has a pure "XS" version and "Alt"(ternate) modules for all the common CPAN
module frameworks.

The source code for all these modules is in one git repository, on separate
branches: <https://github.com/ingydotnet/acme-math-xs-pm>

=head1 SEE

=over

=item L<Acme::Math::XS>



( run in 0.900 second using v1.01-cache-2.11-cpan-df04353d9ac )