Anyone know what's wrong? No matter what server I try to connect to it says "Use of uninitialized value...". The code is
#!/usr/bin/perl #use warnings; #use strict; use IO::Socket; my $site = <STDIN>; my $fh = IO::Socket::INET->new($site); my $line = <$fh>; print $line;
In reply to Network Programming With Perl example 1 by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |