title: "do" function in Perl
body: <p>Recently, I have a perl script which calls another perl script using "do"; ie.</p>
  
  <p><code>do "./script2.pl $arg1 $arg2";</code></p>
  
  <p>My script2.pl was designed to consume 2 arguments.</p>
  
  <p>However, calling script2.pl in the way above will not pass the arguments into script2.pl.</p>
  
  <p>I know there is another way using "system", but my script1.pl needs to get some variable values through "require".</p>
  
  <p>Can I actually use "do" and pass in the arguments to my script2?</p>