- or download this
use strict;
use warnings;
...
END
say add( 5, 7 );
- or download this
use Inline::MakeMaker;
WriteMakefile( NAME => 'myC', VERSION_FROM => 'myC.pm' );
- or download this
package myC;
our $VERSION = 1;
...
}
END
1;
- or download this
package myC;
our $VERSION = 1;
use Inline C => 'END', VERSION => 1, NAME => 'myC';
1;
- or download this
use strict;
use warnings;
...
use myC;
say myC::add( 5, 7 );