OK, I've chased this for a while and have come down to this:
$/ (the input record separator) is getting hosed. Now, we don't set $/
anywhere in our code _and_ I've verified that it is "\n" like it's supposed
to be just before the the problem areas. But when getline gets called, it
slurps the entire file and spews the errors.
My guess is that it's Term::Readline that's causing the problem. Note that
I don't have Term::ReadKey or Term::ReadLine::Perl installed on the machine
where the problem strikes. On another machine with pretty much the same
software but with Term::ReadKey installed, the problem doesn't happen.
Term::ReadLine also plays with $/, but all it does is:
local ($/) = "\n";
in one place.
Setting $/ just prior to where the warnings first hit (in
Majordomo::substitute_vars) makes the problem go away.
- J<
Follow-Ups:
References:
|
|