Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

(tye)Re: socket reading...

by tye (Sage)
on Jul 28, 2001 at 11:00 UTC ( [id://100531]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: socket reading...
in thread socket reading...

IO::Socket::INET "isa" IO::Socket "isa" IO::Handle "isa" Exporter so if any of those have a AUTOLOAD, then IO::Socket::INET does. One of the many ugly pitfalls of using inheritance in Perl.

Another ugly thing is that the default AUTOLOAD that often gets used gives this silly error about not finding a *.al file when the real problem is that the module user has mistyped the method name. There is no blocking.al file because there is no "blocking" method for that module. That error message is hugely misleading and I go out of my way to avoid it in the modules I write.

blocking() is supposed to be an IO::Handle method. I suspect the problem is that this wasn't present in whatever version of Perl is being used. The problem could probably be solved by upgrading Perl.

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://100531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found