use Foo qw( foo bar ); ---- becomes ---- package Foo; # stuff here ... package main; Foo->import( qw( foo bar ) );