perldoc CGI
perldoc Socket
# perldoc -l Socket
/usr/share/perl/5.10/Socket.pod
perldoc -m Socket
perldoc -f sin
perldoc -f open
perldoc -f print
perldoc -q Socket
Found in /usr/share/perl/5.10/pod/perlfaq8.pod
Why doesn't my sockets program work under System V (Solaris)? What does
the error message "Protocol not supported" mean?
Some Sys-V based systems, notably Solaris 2.X, redefined some of the
standard socket constants. Since these were constant across all
architectures, they were often hardwired into perl code. The proper
way to deal with this is to "use Socket" to get the correct values.
Note that even though SunOS and Solaris are binary compatible, these
values are different. Go figure.
...
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |