export vs export_ok in perl
I can not understand what is the difference/use case of EXPORT_OK vs EXPORT . Most resources mentions something in the lines of: @Export allows to export the functions and variables of modules to user’s namespace using the standard import method. This way, we don’t need to create the objects for the modules to access its members. @EXPORT_OK does export of symbols on demand basis for selective list of symbols (subroutines and variables) of the module. But I really don't see the difference/meaning here. Can someone please provide a small fundamental example of the difference/usage of these 2