in reply to The blocking method in IO::Handle

what operating system are you using?
blocking is a XS function which may not supported by your OS!

Replies are listed 'Best First'.
Re^2: The blocking method in IO::Handle
by Anonymous Monk on Feb 21, 2005 at 16:18 UTC
    It's linux! And I have now found (by wild experimenting) that calling perl with "-MIO::Handle" let's it vanish. But why? Apparently it's loaded from the modules anyway, or they couldn't construct the object.

      Native Perl IO handles are constructed by the perl interpreter without the IO::Handle module and are treated as IO::Handle objects automatically by Perl. But, the methods for IO::Handle don't get loaded unless someone loads the IO::Handle module. If Net::SSH::Perl is using IO::Handle methods, then it should be loading the required module. Submit a bug report against Net::SSH::Perl.

      - tye        

      but you are sure that IO::Handle exists on your maschine?
        I can load it with -M. See above.