#!/usr/bin/perl use My::Module; My::Module->import(qw(testsub)); print testsub(), "\n"; sub testsub { # "local" definition of subroutine return "local subroutine"; }