- or download this
#include <stdio.h>
void hello()
{
printf("Hello world!\n");
}
- or download this
package Example;
use 5.006;
use strict;
...
our @EXPORT_OK = qw/ hello /;
bootstrap Test $VERSION;
1;
- or download this
#!/usr/bin/perl
use strict;
use Example;
print Example::hello;