in reply to Junior Monk Predeclaration Question
since that function hasn't been defined in your code, it may require the leading `&'.&mypackage::myfunc("hello");
Also, myfunc() probably doesn't autoload for you, helping to cause this problem.
check out the docs for Shell for a similar example.
without 'sub ls;', this would fail under strict.use Shell; sub ls; print ls;
-- Casey
|
|---|