Cronjob and System command in Perl Script

2009-10-20 Thread Perl Perl
Dear All, Need your help with respect to the *cronjob setup in Solaris and Undo checkout operation in Clearcase*. I have a cronjob and it is working fine, but problem is, *system* command in perl script is not working as per requirement. Please find the snipped, of code as below for your

Re: Cronjob and System command in Perl Script

2009-10-20 Thread Todd Beverly
Hello. Perl Perl wrote: I have a cronjob and it is working fine, but problem is, *system* command in perl script is not working as per requirement. Please find the snipped, of code as below for your kind reference. script.pl if($Difference 15 ) { send_mail($Xid_Value, $View_Name,

Resolve hostname by specified nameserver

2009-10-20 Thread rocku
Hello, I need to resolve a hostname by a specified nameserver. Currently I am using nslookup throught backticks, but it's output differs slightly between Windows versions and is hard to parse. I wanted to use Socket and something like inet_ntoa(inet_aton('hostname')) but this way I have no

Re: Cronjob and System command in Perl Script

2009-10-20 Thread Perl Perl
Hi Todd Beverly, I don't have any extra asterisks * there. Don't konw how these extra astrisks came while sending mail. I forgot to mentione one thing there. If the script is source check in, then I am facing the problem. Thanks for kind help in advance. On 10/20/09, Todd Beverly

Re: Cronjob and System command in Perl Script

2009-10-20 Thread Kenneth Ölwing
I forgot to mentione one thing there. If the script is source check in, then I am facing the problem. Is the element executable? As root, vob owner or element owner do, 'cleartool protect -chmod +x element'. ken1 ___ Perl-Win32-Users mailing

Re: Resolve hostname by specified nameserver

2009-10-20 Thread Rafał Pocztarski
2009/10/20 rocku rock...@gmail.com: So my question is - how to query a specific nameserver about a DNS 'A' record? See the first example in the Net::DNS manpage: http://search.cpan.org/~olaf/Net-DNS-0.65/lib/Net/DNS.pm#EXAMPLES Just change: my $res = Net::DNS::Resolver-new; to: my

Re: Resolve hostname by specified nameserver

2009-10-20 Thread Rafał Pocztarski
   my $res = Net::DNS::Resolver-new(nameservers=[$nameserver]) or die; Sorry, I overlooked the part where you wrote that you can't use Net::DNS... Just ignore my message. Rafał Pocztarski ___ Perl-Win32-Users mailing list

Re: Text Encrypt and Decryption

2009-10-20 Thread Serguei Trouchelle
Kprasad wrote: Thanks for your reply. Actually my system has been used by number of users and anybody can change my coding of other valuable script (.pl or .plx). All script will be kept encoded rather than open code, I'll decrypt again as and when it's required. Is there any better

Re: Resolve hostname by specified nameserver

2009-10-20 Thread Serguei Trouchelle
rocku wrote: I am aware about Net::DNS, but unfortunately I cannot use it because it's not standard in ActivePerl 5.10. Is there any reason not to run ppm install Net::DNS to install it? -- Serguei Trouchelle ___ Perl-Win32-Users mailing list

perl error message

2009-10-20 Thread Geoff Horsnell
Hi, I have just downloaded and installed Perl 5.8.9 for Win32. When I try to compile a binary, I get the following error message. Use of uninitialized value in numeric eq (==) at /C:\Program Files\ActiveState Perl Dev Kit 7.3\bin\lib\pdklib.dllPDK/Util.pm line 147. Win32::BuildNumber not

Re: perl error message

2009-10-20 Thread Sisyphus
- Original Message - From: Geoff Horsnell ge...@horsnell.freeserve.co.uk I have just downloaded and installed Perl 5.8.9 for Win32. When I try to compile a binary, I get the following error message. Use of uninitialized value in numeric eq (==) at /C:\Program Files\ActiveState Perl

RE: Text Encrypt and Decryption

2009-10-20 Thread Jean-Philippe.Ulpiano
Hi Kprasad, Maybe you find what you need here. We are using that too it works quite good ... http://search.cpan.org/~shay/Filter-Crypto-1.26/script/crypt_file Kind regards, Jean-Philippe -Original Message- From: perl-win32-users-boun...@listserv.activestate.com