title: export vs export_ok in perl
body: <p>I can not understand what is the difference/use case of <code>EXPORT_OK</code> vs <code>EXPORT</code>.<br>
  Most resources mentions something in the lines of:    </p>
  
  <blockquote>
    <p>@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.<br>
    @EXPORT_OK does export of symbols on demand basis for selective list
    of symbols (subroutines and variables) of the module.</p>
  </blockquote>
  
  <p>But I really don't see the difference/meaning here.<br>
  Can someone please provide a small fundamental example of the difference/usage of these 2 symbols?</p>