in reply to Avoiding variable conflict when importing modules
This is why using @EXPORT_OK to specify what your module should export is safer and friendlier than using @EXPORT. With @EXPORT_OK, the person using the module has to specify the functions and variables to be imported, so he or she is more likely to notice any conflicts with other modules.
|
|---|