title: Using a subroutine from another file
body: <p>Consider:</p>
  
  <h3>File <code>display.pl</code></h3>
  
  <pre><code>disp{
      my $p = shift;
      print $p;
  }
  </code></pre>
  
  <h3>File <code>temp.pl</code></h3>
  
  <pre><code>require "display.pl";
  
  $item = "asd";
  
  &amp;disp($item);
  </code></pre>
  
  <p>When I executed <code>temp.pl</code>, it gave an error:</p>
  
  <blockquote>
    <p>can't find method "disp" without a package or a object reference at display.pl line 2.</p>
  </blockquote>