in reply to Debug import function code
perl -d yourscript [debugger starts> b Your::Module::import R [download]