in reply to Debug import function code

This is a trick that will work.
perl -d yourscript [debugger starts> b Your::Module::import R
That will restart the debugger with all your breakpoints intact - resulting in a stop inside your import method. Even works for BEGIN blocks.