note
Fletch
<p>
It's not [doc://if], it's [doc://eq]; the string <c>"abc"</c> is not equal to <c>" abc"</c> (computers are quite pedantic that way). If stripping white space is causing problems elsewhere then create a stripped copy and compare <em>that</em> instead.
</p>
<c>
( my $staff_last_clean = $staff[ $i * 3 + $staff_last ] ) =~ s/^\s+//;
if( $staff_last_clean eq $names[ 0 ] ) {
# ...
}
</c>
<p>
That'll leave the original untouched for elsewhere.
</p>
<div class="pmsig"><div class="pmsig-58196">
<p>
The cake is a lie.<br />
The cake is a lie.<br />
The cake is a lie.<br />
</p>
</div></div>
697372
697372