From: Austin S. <te...@of...> - 2003-08-26 18:05:23
|
On Tue, Aug 26, 2003 at 10:09:29AM +0100, Kemp, Donald wrote: > Hi, > In my case I am using spawn(). The only time I use exp_init is for the > filehandles used when I am setting up for a "Expect::interconnect". > > The "Expect" sub-routine that I am seeing the failure is AUTOLOAD and the > line that the failure is indicated on is .... > $tmp = ${*$self}{varname} if exists ${*self}{$varname}; > Which again doesn't seem like an Expect bug, per se. However, if it's not defined here it's likely not going to work later either, so it might as well toss up some sort of error code, or at least return undef. I would suggest ways to debug this, but I'm not really that familiar with the autoloading mechanism, and I've never had the pleasure of having references disappear from under me. Austin |