I am saddened to see I never got around to thanking you for this post.
As a consequence of your reply, I learned that strict was lexically scoped, as well as the syntax for how to release its iron grip, as well as the idea that one could reduce only pertinent portion of its iron grip and the synxtax thereto, resulting in this snippet which was no longer relegated to its "quarantine module":
# If it's our last lock, release it.
if (!$lckcnt) {
# It's our last lock. Release the lock token file.
my $lckfnm = &_getLockFilename($filfnm);
{
# Must disable warnings and strict for this
no warnings;
no strict;
close $Lckhan{$KEY_LCKHAN}{$filfnm};
}
}
So, as many times before, thanks for having taken the time to write this -- OMG -- ten years ago.