What does this piece of Perl code do in laymans terms? <p>Found this inside a loop. I've read up about splice but it just confused me more. I'm not familiar with Perl, but am trying to translate an algorithm to another language.</p> <pre><code>my $sill = splice(@list,int(rand(@list)),1); last unless ($sill); </code></pre> <p>To be more specific: What will be inside $sill if it doesn't exit the loop from the last?</p> <p>Thanks for any help!</p>