Thank you for the suggestion. I have a couple of objects in this application too, but I was wondering what was the good way to go for plain librairies...
I'm not exactly sure what changing EXPORT_OK to EXPORT was supposed to do in this situation, though... I can still access any function from webData.pm in login.cgi if I put the full package name before the function name, even if it is not in the webData's EXPORT list or even if it is not in the keyword list when I do use webData qw();...
I would like to prevent, for example, GetEmails from being accessed in login.cgi if it is not in the EXPORT list, or if it is not in the keyword list of the use webData qw();
Moreover, I still can't call in login.cgi main code the function GetLinks without specifying the full package name (as in my $links_ref = MyPackages::Config::webData::GetLinks();).