in reply to Re^3: Namespace debugging advice in thread Namespace debugging advice
Thanks! You helped me solve it! It was a namespace problem.
I ran your test and there are 1353 subs in main. Then I printed the package name at the top of the lib file, db2access.pli. It was not "main", it was "FR_html_tools", which it had inherited from a PM file.
I printed out the subs in FR_html_tools and there were all the missing subs, including the one I need, &DB2QUERY.
Now I can call the sub with it's namespace; FR_html_tools::DB2QUERY() and the cgi script finds it fine.
Thanks again. There are many PM files in this code and it's hard to keep track of all the package names.
|