in reply to Calling a subroutine located in a module
Thank you all for your help!!!
Thanks to Chipmunk, I discovered the problem. The original module is a sub-module i.e. DB::NotesOLE So the package command consisted of "package DB::NotesOLE" The test script is in the same directory as the module itself and was calling the module directly, so I changed the package to "package NotesOLE" and everything worked well. I will have to check that use DB::NotesOLE works in the test script and all will be fine.
One again thanks I really appreciate all the support.
|