title: Perl, how to print evaluation of sum of numbers using "print"
body: <p>Look at the following code sample.</p>
  
  <pre><code>$ct=5;
  print "hey $ct+1";
  </code></pre>
  
  <p>When evaluated, this returns:</p>
  
  <pre><code>hey 5+1
  </code></pre>
  
  <p>However, I'm trying to get the code to return:</p>
  
  <pre><code>hey 6
  </code></pre>
  
  <p>Does anybody know if there is some sort of evaluation call that I can make to have this occur correctly, or a way to change the syntax a tad?  I know I could simply do:</p>
  
  <pre><code>$dum=$ct+1;
  print "hey $dum";
  </code></pre>
  
  <p>But what I'm showing you is a simple version of something more complicated.  If I could get this small example to work correctly, my larger problem is solved.  Thanks.</p>