Re: Conflict with Net::SSH::Perl and Tk?



Todd-

Thanks for the response. This problem that you describe is
yet another one that is already known (but I don't think
anybody is working on). In order to do this under windows,
you need to use the Net-SSH-W32Perl package. I actually used
this package and got it to work (although with lots of warning
messages). My problem is looking like a config or version
problem. I'll keep everyone posted.

-Craig

Todd Littlefield wrote:
>
> Hi Craig,
>
> My guess is that the version of perl you are working with is
> incompatible.
> I just tried the latest ActiveState (5.8.7) and I got a completely different
> error message, regardless of whether use Tk; was there or not:
>
> Can't set socket non-blocking: Bad file descriptor at
> C:/Perl/site/lib/Net/SSH/Perl.pm line 213, <GEN0> line 1.
>
> This could be due to the Windows socket layer... I'm not an expert there...
>
> I can't remember if I had a Tk script using this under linux or
> not... I
> did it for work quite a while ago, if I remember I'll check when I get
> there.
>
> Sorry I couldn't be more help...
>
> Craig M. Votava wrote:
>
> >Folks-
> >
> >Maybe I should phrase the question better.
> >
> >Has anyone been able to successfully write
> >a perl program that uses both Tk and Net::SSH::Perl
> >and have it work?
> >
> >Thanks
> >
> >-Craig
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx

.