ruzam has asked for the wisdom of the Perl Monks concerning the following question:
This works fine for me and many other versions of Perl. But in Perl 5.5 (at least, maybe lower versions as well), it results in the error:use Socket; socket(my $socket, PF_INET, SOCK_STREAM, getprotobyname('tcp'));
(this is coming from a CPAN test FAIL Device-CableModem-SURFboard-0.02)Can't use an undefined value as a symbol reference at ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 5.5 and socket
by Burak (Chaplain) on Dec 22, 2007 at 17:41 UTC | |
by eserte (Deacon) on Dec 22, 2007 at 18:36 UTC | |
by ruzam (Curate) on Dec 22, 2007 at 20:18 UTC | |
|
Re: Perl 5.5 and socket
by grinder (Bishop) on Dec 22, 2007 at 21:41 UTC |