John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
This took some figuring, let me tell you!
Here's what I figured out:
A statement like
fails if the variable $name is bound to a Tk text widget. Just making a local copy of the value and using that copy works fine!my $database= new Win32::OLE:: "SourceSafe"; $database->Open ($name);
My guess is that the XS code behind the OLE method generator is assuming plain scalars and doesn't like tied variables.
Ouch.
—John
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: When magic goes awry - Tk and OLE mysterious problem
by theorbtwo (Prior) on Nov 21, 2002 at 23:29 UTC | |
Re: When magic goes awry - Tk and OLE mysterious problem
by mpeppler (Vicar) on Nov 22, 2002 at 01:23 UTC |
Back to
Seekers of Perl Wisdom