I have "use strict" turned on and require the packages I use. I am making a call to a package function, e.g. my $dummyvar = mypackage::myfunc("hello");
At runtime I get an error suggesting that I may need to predeclare mypackage::myfunc. Yet neither the Llama nor the Camel books list "predeclaration" in their indexes.
My question is, what is predeclaration with respect to the use of package functions? When should I use it?
I had previously thought that matters which are not covered in the Llama and Camel books were not matters which initiate monks such as myself needed
to be concerned with and were not necessary for Perl enlightenment. Could I have been wrong?