title: Can't find exported subroutine in Perl
body: <p>I have a module called <code>Utilities.pm</code>.  It exports a subroutine called <code>dummy_method</code>.</p>
  
  <pre><code>package Foo::Utilities;
  
  use strict;
  use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
  
  require Exporter;
  
  @ISA = qw(Exporter);
  @EXPORT = qw(dummy_method);
  
  sub dummy_method {
    # do things
  }
  </code></pre>
  
  <p>I have a Perl script that uses the <code>dummy_method</code> subroutine:</p>
  
  <pre><code>use strict;
  use warnings;
  
  use Foo::Utilities qw('dummy_method');
  
  my $foo = Foo::Utilities::dummy_method("foo");
  print("$foo\n");
  </code></pre>
  
  <p>Executing that script throws an export error:</p>
  
  <blockquote>
    <p>"dummy_method" is not exported by the Foo::Utilities module<br>
    Can't continue after import errors at /home/me/foo.pl line 3<br>
    BEGIN failed--compilation aborted at /home/me/foo.pl line 3.  </p>
  </blockquote>
  
  <p>I'm confused because I am explicitly exporting that subroutine with <code>@EXPORT = qw(dummy_method);</code>.  How do I use <code>dummy_method</code> in another script?</p>