title: Why is this scalar value returning an int of 1? (Chomp)
body: <p>$receiver is returning 1. </p>
  
  <pre><code>print "Who is receiving this message?:";
  my $receiver = chomp(my $r = &lt;STDIN&gt;);
  print $receiver;
  </code></pre>
  
  <p>Also, where can I find some more documentation about chomp? Thank you.</p>