title: Perl array in scalar context
body: <p>I am a newbie in Perl. I'm trying to understand Perl context. I've the following Perl code.</p>
  
  <pre><code>use strict;
  use warnings;
  use diagnostics;
  
  my @even = [ 0, 2, 4, 6, 8 ];
  my @odd = [ 1, 3, 5, 7, 9 ];
  my $even1 = @even;
  print "$even1\n";
  </code></pre>
  
  <p>When I execute the code, I get the following output ...</p>
  
  <pre><code>1
  </code></pre>
  
  <p>But, as I've read, the following scalar context should <strong>places the number of elements in the array</strong> in the scalar variable.</p>
  
  <pre><code>my $even1 = @even;
  </code></pre>
  
  <p>So, this is bizarre to me. And, what's going inside the code?</p>