note
Aristotle
<p>It isn't the easiest to understand, but that's <em>very</em> nice outside the box thinking!</p>
<p><strong>Update:</strong> <em>minor</em> niggles: use <tt>$#a</tt> since that's what you mean — and please, please, use better variable names.</p>
<code>
my @list = ( 41888, 41889, 41890, 41892, 41895 );
my @missing = map { ( $list[ $_ - 1 ] + 1 ) .. ( $list[ $_ ] - 1 ) } 1 .. $#list;
</code>
<div class="pmsig pmsig-114691">
<p align="right"><em>Makeshifts last the longest.</em></p>
</div>
388315
388321