No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hi ,. I think there is no way in specify port in connect function. But In IO::Socket module we can specify the port no like, [code] In server.pl my $main_sock = new IO::Socket::INET (LocalHost => '192.168.8.20', LocalPort => 1200, Listen => 5, Proto => 'tcp', Reuse => 1, ); die …
[QUOTE=john_prince;1152735]Hi, I've this script that takes care of picking phone number in standard format - xxx-xxxx, further i would like it to pick phonenumber even without hypen - xxxxxxx. How can i do that? [CODE] foreach $number (@numbers) { if ($number =~ m/(^\d{3}-\d{4}$)/) { push @results, $number; } } [/CODE] …
The End.
Abinila