John W. Krahn wrote:
Gunwant Singh wrote:
I have written a code to ping remote sites:
---
use strict;
use warnings;
use Socket;
use Net::Ping;
print 'Enter a hostname/IP ';
my $ip,my $host;
$ip=;
chomp($ip);
if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\
Rob Dixon wrote:
Gunwant Singh wrote:
I have written a code to ping remote sites:
---
use strict;
use warnings;
use Socket;
use Net::Ping;
print 'Enter a hostname/IP ';
my $ip,my $host;
$ip=;
chomp($ip);
if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\
87.248.113.14 with 32 bytes of data:
Reply from 87.248.113.14: bytes=32 time=188ms TTL=49
Reply from 87.248.113.14: bytes=32 time=207ms TTL=49
Thanks
--
Gunwant Singh.
"What is the sound of Perl?
Is it not the sound of Wall that people bang their heads against?"
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Rob Dixon wrote:
Gunwant Singh wrote:
Hi all,
I really appreciate all you guys there for the help you've provided to
me in the past.
So here I am again with a Question.
I have a file with the following entries:
1:17
4:3
4:11
4:13
11:16
12:10
13:2
19:5
20:7
26:12
28:4
33:15
33:17
35
You will see that the left column is sorted. However the right one isn't.
What I want to do is to sort the right one but the corresponding values
should remain the same.
Notice the repeated values too.
Any thoughts?
Thanks for you help in advance.
Regards.
--
Gunwant Singh.
"What
Hi,
Thnx for your solution, although I did not get the complete solution as
explained in your earlier email.
Can you please simplify your explanation. Also, would it not be possible
w/o making wordlist.unified.
Thanks.
Dr.Ruud wrote:
Gunwant Singh:
I have a query regarding regexes
need to determine length of the words and
accordingly, build up the search criteria, so to match exactly the same
length of word in the wordlist.
Any suggestions?
Thanks
--
Gunwant Singh.
"What is the sound of Perl?
Is it not the sound of a wall that people bang their head
Find module. I am
stuck in the algorithm actually but before I seek help on this, I would
like to try once more.
Thanks for your help!
Cheers,
Gunwant Singh.
Paul Lalli wrote:
On Jun 19, 12:16 pm, [EMAIL PROTECTED] (Gunwant Singh) wrote:
Hi all,
I wrote a code that can search any fi
Thank you very much! That answers my question.
Cheers,
Gunwant Singh.
Chas. Owens wrote:
Build from scratch to teach yourself about things, but use the wheels
already invented for real/production work.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability
. Should we build up
the code from the very scratch - In that way we learn new ways to build
up the same code which may help in coding something similar in a better
way, or use the modules whenever/wherever they are available.
Any suggestions/opinions will be highly appreciated.
Cheers,
Gunwan
n)
{
my $cwd = Win32::GetCwd();
print "\nFile found in $cwd";
}
}
}
------
Cheers,
Gunwant Singh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi there,
I am still waiting for any suggestions/recommendations.
Cheers.
Gunwant Singh wrote:
Hi Rob,
I have interpolated the server and the user name as in this:
/Win32::NetAdmin::UserGetAttributes("servername","myself",my
$password,my $passwordAge,my $privilege,my
for the user is/
I tried with the IP as well, still no luck. What else can be done.
Thanks.
Rob Dixon wrote:
Gunwant Singh wrote:
I have written a small Perl script so to fetch information about the
user. Here is the code:
/1use strict;
2use warnings;
3use Win32::Netadmin;
entry at C:\Documents and
Settings\Myself\Desktop\code\mac-info.pl line 4.
Use of uninitialized value in concatenation (.) or string at
C:\Documents and Settings\Myself\Desktop\code\mac-info.pl line 5.
The homedir for the user is/
I am not sure, what is the problem. Can anyone help me on this?
Thank
#x27; *mode* to *0*. What does each
bit stand for and why there are 5 bits as compared to UNIX's
User-Group-Others bits. So actually 3 questions :)
Thank you.
--
Gunwant Singh
History:
---
Hi,
I am new to this mailing list and I am very new to PERL. So, please bear
with me f
t call method "mode" without a package or object reference at
C:\Documents a
nd Settings\Myself\Desktop\code\dir-op.pl line 8.
*What am I doing wrong!
Thanks.
--
Gunwant Singh
16 matches
Mail list logo