package test; sub mysub { return 'babayaga'; } 1; #### #!/usr/bin/perl use strict; use test; print test::mysub();