Well my saying is that everyone will be made to look like an fool at least
once a week came back and bit me this week :(
After posting the message I went to bed and started to think about it and
consequently solved my own problem.
Since I was using the SSI example from the eagle book the function which
calls the functions in the include file does a local on the $/ variable
effectively setting it to undef. And then of course from Programming Perl
on page 184 of local
"After the local is executed, but before the scope is exited, any called
subroutines will see the local inner value..."
Oops!
So I am sorry to have wasted the bandwidth and the time of the people on
the list...
Steve