Thanks John and others, I have got it, thank you.
--- On Mon, 22/6/09, John W. Krahn wrote:
>
> According to RFC 2616 (http://www.rfc-editor.org/rfc/rfc2616.txt) the
> end-of-line marker is CRLF which is not dependent on the
> OS.
>
> AFAIK most TCP protocols use this end-of-line marker.
>
Hello,
I created a script for checking HTTP like below:
use strict;
use IO::Socket;
my $host = shift || '127.0.0.1';
my $port = shift || 80;
my $sock=IO::Socket::INET->new(PeerAddr => $host,
PeerPort => $port,
Proto=> 'tcp');
un
Hello,
Is it possible to implement an UDP port scanning with IO::Socket?
I want to verify a remote UDP port is opened or not.
Thanks.
Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
Show me how: http://au.mobile.yahoo.com/mail
--
To unsubscribe, e-mail: beginners-unsubscr...@perl
--- On Sat, 13/6/09, John W. Krahn wrote:
> When you say
>
> $scalar = (2, 5, 7, 9);
>
> you’re using the comma operator in scalar
> context, so it uses the
> scalar comma operator.
Here, what is the "scalar comma operator"?
I can't understand for that. Thanks.
Reg
Thanks John and Chas.
I have got it.
Wah.
--- On Fri, 12/6/09, John W. Krahn wrote:
If there are no shell metacharacters
>
>
>
> in the argument,
> it is split into words and passed directly
>
>
Hi,
what's the difference between these two calling for system() function?
system "command","-a","-b","-c";
system "command -a -b -c";
and, which is better?
Thanks.
Wah.
Need a Holiday? Win a $10,000 Holiday of your choice. Enter
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAz
use POSIX's function strftime:
perl -le 'use POSIX qw/strftime/;$time = strftime "%Y%m%d",localtime; print
$time'
--- On Wed, 10/6/09, Rick wrote:
> From: Rick
> Subject: localtime
> To: "Perl Beginners"
> Received: Wednesday, 10 June, 2009, 9:55 AM
> below is working code but is there
> w