title: Perl system + split + array
body: <p>my name is luis, live in arg.
  i have a problem, which can not solve.</p>
  
  <pre><code>**IN BASH**
  pwd
  /home/labs-perl
  ls
  file1.pl file2.pl
  
  **IN PERL**
  my $ls = exec("ls");
  my @lsarray = split(/\s+/, $ls);
  print "$lsarray[1]\n"; #how this, i need the solution. &gt;&gt; file.pl
  file1.pl file2.pl # but this is see in shell.
  </code></pre>