The module only contains one routine so I do an auto-export. Here is how I do the export:
package ATG::Constants; use strict; use warnings; use base qw(Exporter); our @EXPORT = qw(const); sub const { #code goes here }
Every other module that needs this routine I say use ATG::Constants.
Am I doing something wrong here? Since I am getting this warning I would assume that I am.
Thanks for any help.
In reply to exporting subroutine in mod_perl by BarMeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |