I'm trying to find out what my primary dns server is, within a perl script. It just happens to be an AD server, and I need to point to it as a AD machine...
26555
wlanie01
Mar 20, 2009 9:45 pm
... Is this what you need? Not sure I understand what you are trying to do... http://www.net-dns.org/...
26556
Brian
brianlamere
Mar 20, 2009 11:07 pm
sortof, closest I could find there was Net::DNS::ToolKit::get_ns but that didn't want to work on my machine. basically - the system knows what it's name...
26557
Amit Saxena
learn.tech123@...
Mar 23, 2009 7:07 pm
Is it possible to implement this without using any external modules from CPAN ? Thanks & Regards, Amit Saxena [Non-text portions of this message have been...
26558
merlyn@...
merlynstoneh...
Mar 23, 2009 8:46 pm
... Amit> Is it possible to implement this without using any external modules from Amit> CPAN ? Is it possible? Yes. Reasonable? No. Please state clearly your...
26559
yaswanth krishna
yaswanth.krishna@...
Mar 24, 2009 5:10 am
Hi, I am using a script where it works out of loop and loads different configs everytime from config files. I am loading that configs using 'require39; ...
26560
Charles K. Clarkson
charlesclarkson
Mar 24, 2009 9:40 am
... That doesn't sound like a good plan. You are importing unknown variables and routines into your symbol table. That is not a usually a good perl programming...
26561
yaswanth krishna
yaswanth.krishna@...
Mar 24, 2009 11:01 am
... As mentioned in the earlier example, I need the script to run in different modes. For every mode of invocation, I am taking mode specific configs from ...
... yaswanth> As mentioned in the earlier example, I need the script to run in yaswanth> different modes. For every mode of invocation, I am taking mode ...
26566
igotux igotux
igotux@...
Mar 29, 2009 6:33 am
Were you able to solve this ? If so, how... /Tux On Tue, Mar 24, 2009 at 10:40 AM, yaswanth krishna < ... [Non-text portions of this message have been removed]...
26568
leebinkley
Mar 30, 2009 12:02 am
#!/usr/bin/perl # Author leebinkley@... use strict; use warnings; my $diff = 0; my @TI = (); my $TimeInfo = \@TI; get_time($TimeInfo); my $MyWrkLoc =...
26569
leebinkley
Mar 30, 2009 12:07 am
#!/usr/bin/perl -w use strict; use warnings; use Data::Dumper; my %MFI = (); my $MyFolderInfo = \%MFI; my $MyIn = 0; my $MyOut = 0; my @MyWorka = (); # #...
26570
q11112345
Mar 30, 2009 8:27 am
$err=Net::Pcap::sendpacket($pcap,\$ethr_data) or die "Can't send packet:$!\n\r$err"; and it will be stopped when it goes here.return error is :Bad file...
26571
Charles K. Clarkson
charlesclarkson
Mar 31, 2009 4:50 pm
... [snip] Why are you submitting this? Is it for peer review? CPAN has a script repository if you want to contribute scripts to the perl community. HTH, ...
26572
Robert Binkley
leebinkley
Mar 31, 2009 10:34 pm
I submitted this script in the event for aix administrators. so it should go to cpan site ok thanks ... From: Charles K. Clarkson <cclarkson@...> ...
26573
merlyn@...
merlynstoneh...
Apr 1, 2009 12:32 am
... Robert> I submitted this script in the event for aix administrators. so it Robert> should go to cpan site ok thanks That's not how to put things onto the...
26574
Robert Binkley
leebinkley
Apr 1, 2009 1:23 am
Thanks for the Info awaiting on password Request to register new user fullname: Robert Lee Binkley Jr userid: RBINKL mail: CENSORED homepage: ...
26575
Amit Saxena
learn.tech123@...
Apr 1, 2009 5:05 pm
Hello everybody, I need to write a Perl CGI script to login from one system (A) into remote system (B) and do a ping to the third system (C). As of now, I have...
26576
q11112345
Apr 6, 2009 12:52 pm
Create a new console window and show message gived by the parent process.may be it is a new Dos window.how to do it.this new window is a child.or child thread....
26577
q11112345
Apr 11, 2009 1:25 am
i want to pass a file handle to child process.like this: system("perl child.pl $filehandle"); but it doesn't work.the value passed to child is only a string.i...
26578
Jeff Soules
soules@...
Apr 11, 2009 5:02 pm
Hi there, This does not answer the original question and may be naive, but why not just have the child process [re]open the file? Is there a reason you need...
26579
Chaofei Yang
q11112345
Apr 12, 2009 12:55 am
hi. actually i've found how to do that. open(INPUT, "< /etc/motd") or die "/etc/motd: $!"; if ($pid = fork) { wait } else { defined($pid) or die "fork:$!";...
26580
Amit Saxena
learn.tech123@...
Apr 12, 2009 5:21 pm
... Hello all, Thanks for the replies and the help. Since last few weeks, I am also trying for a solution to the same. So far, what I am trying and did is to...
26581
leebinkley
Apr 12, 2009 7:46 pm
#!/usr/bin/perl use Net::SSH::Perl; my $host = "perlhowto.com"; my $user = "user"; my $password = "password"; #-- set up a new connection my $ssh =...
26582
dachner2002
Apr 13, 2009 8:22 pm
How do I get the number of days between two dates using DATE::MANIP? This is all I can come up with but it gives me Weeks and Days, not just days. ...
26583
Kalyan Raj
kalyanraj55
Apr 14, 2009 4:26 am
Hello, I think Date::Time will give you best results use DateTime; use DateTime::Duration; use Date::Manip; my $dt = DateTime->now; # same as (...
26585
buxh42a
Apr 15, 2009 4:43 pm
http://faq.perl.org/perlfaq4.html#How_can_I_compare_tw Another way: use Date::Calc qw(Delta_Days); $days = Delta_Days( $year1, $month1, $day1, $year2, $month2,...
26586
dachner2002
Apr 15, 2009 7:06 pm
Date::Calc requires a C compiler to install so I've stayed away from it. Don...
26587
Munthajeeb Akbar
munthajeeb
Apr 17, 2009 5:40 pm
Hi All, I have a requirement to use IO:SOCKET:SSL for which I had to install IO-Socket-SSL-1.24 which needed Net-SSLeay-1.35 and then openssl-0.9.8k. I...