Alt-Acme-Math-XS-ZillaDist
view release on metacpan or search on metacpan
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:
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
#
# 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;
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:
=head1 SEE
=over
=item L<Acme::Math::XS>
( run in 1.807 second using v1.01-cache-2.11-cpan-e1769b4cff6 )