Help for this page

Select Code to Download


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