Help for this page

Select Code to Download


  1. or download this
    package c_calc;
    use Inline C;
    ...
    int test(int num){
        return num;
    }
    
  2. or download this
    use warnings;
    use strict;
    ...
    my $num = c_calc::test(5);
    
    print $num;