in reply to
Sockets and Perl App
'socket()' should be defined by "use Socket." FYI, on my Linux and OS/X systems your one-liner works properly as-written.
Comment on
Re: Sockets and Perl App
In Section
Seekers of Perl Wisdom