Subject: | Apache::Session::Store::File stomps on $_ |
Apache::Session::Store::File has while (<$fh>) loop which uses $_. Since
while does not localize $_, this stomps on any $_ values from loops in
the caller. This leads to weird errors like "Modification of a read-only
value" or values being unexpectedly modified.
The solution is either localize $_ before the loop or use a lexical
variable.