- or download this
package x;
use Exporter 'import';
our @EXPORT_OK = ('a', 'b', 'c');
- or download this
#main_script
use x 'a', 'b'; # makes a() and b() available in the main namespace
- or download this
#!perl -w
use strict;
...
sub foo_2 {}
use strict;