Whats wrong with this??

2002-10-07 Thread Krishna, Hari
Hi friends, I know this is off the list, but I am pretty sure that some of you might figure it out and give me some clues as what am I doing wrong. I get the eror ksh: send_email: cannot execute sendmail is in /usr/sbin I changed the first line to reflect that, but still I get the error.

RE: Whats wrong with this??

2002-10-07 Thread Krishna, Hari
I created the script and I am trying to execute the script. So I have the rwx permissions on the script. I did chmod 700 *. -Original Message- From: Jim Sander [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 10:46 AM To: Krishna, Hari Cc: [EMAIL PROTECTED] Subject: Re: Whats

Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
Hi Guys, I get the following error when I execute my perl script from the browser. But when I execute the program by double clicking, it works fine. Any guesses?? I see the result in the test.txt file Password is correct Heres' the code #! D:\Perl\bin\Perl.exe use strict; use

RE: Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
to root around in the archives and see what comes up. Tom Krishna, Hari [EMAIL PROTECTED]@listserv.ActiveState.com on 10/10/2002 10:15:16 AM Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Win32::AdminMisc problems Hi Guys, I get the following error when I execute my

RE: Win32::AdminMisc problems

2002-10-10 Thread Krishna, Hari
.. Thanks, Hari. -Original Message- From: Gould, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 04:26 PM To: Krishna, Hari; Thomas R Wyant_III; [EMAIL PROTECTED] Subject: RE: Win32::AdminMisc problems I'd check permissions on the directory. Likely you're not running

RE: Regexp needed

2002-10-14 Thread Krishna, Hari
Should be fairly simple... You can split it using the space concept... ($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8) = split(/\s+/,$_); So $p5 has the fifth element and you can do what ever you want with that. Or you can use the array (@arr_extract) and do the same. -Original Message- From:

RE: Terrible at my logic

2002-10-25 Thread Krishna, Hari
: Krishna, Hari [EMAIL PROTECTED] Heres my input: 486 286 9 250 00788 30787 2 This is different to the input you originally posted. (It is only 32 characters long.) Just thought I'd pont that out in case it has a bearing on the solution to this problem :-) Cheers, Rob

Random numbers

2002-10-29 Thread Krishna, Hari
Title: RE: Terrible at my logic Hi friends, I want to generate some 1000 or more passwords for some NT machine. I should be able to generate an 8 digit alphanumeric random numbers from the list of characters. Say I have 3 strings... First string : 0 - 9 numbers Second string : A - Z

RE: Random numbers

2002-10-29 Thread Krishna, Hari
Title: RE: Terrible at my logic OH MY GOD!!! That is soo overwhelming I don't have enough thatyou 's to say THANKYOU ALL SO VERY MUCH your humble servant, Hari.

Win32::AdminMisc -- Any risks??

2002-10-31 Thread Krishna, Hari
Hi Friends, This is more of a general question pertaining to Win32::AdminMisc I have had problems with Win32::AdminMisc. You know, I was working on a web project and needed to authenticate the Username and password on the website to that of the Network. You guys helped me a lot

RE: Win32::AdminMisc -- Any risks??

2002-10-31 Thread Krishna, Hari
: Gould, Kevin [mailto:Kevin.Gould;gentiva.com] Sent: Thursday, October 31, 2002 12:34 PM To: Krishna, Hari; Perl Users Subject: RE: Win32::AdminMisc -- Any risks?? Put down the keyboard and step away from the computer and I'm sure you'll be safe :-) You have nothing to worry about

RE: Execution Problem

2002-11-08 Thread Krishna, Hari
friends -- the problem is solved. I didnot have the DSN setup on my PC and I expect it to work..suuuper. Thanks to chuck for this line print Win32::ODBC::Error().\n; Thanks to all.. Hari. -Original Message- From: Krishna, Hari [mailto:hkrishna;CRH.org] Sent: Friday, November 08, 2002 8

RE: Execution Problem

2002-11-08 Thread Krishna, Hari
a champ. Learnt many things today :)- Hari.. -Original Message- From: Krishna, Hari Sent: Friday, November 08, 2002 9:20 AM To: Krishna, Hari; [EMAIL PROTECTED] Subject: RE: Execution Problem friends -- the problem is solved. I didnot have the DSN setup on my PC and I expect

RE: Email

2002-11-08 Thread Krishna, Hari
use CDONTS. Thats the best way to do it..PERL working is little bit of more coding.. -Original Message- From: Mohanty, Debi (MED, TCS) [mailto:Debi.Mohanty;med.ge.com] Sent: Friday, November 08, 2002 1:21 PM To: [EMAIL PROTECTED] Subject: Email Hi, Here I want to generate a

RE: string compare

2003-01-29 Thread Krishna, Hari
Thanks to all...Appreciate your help. -Original Message- From: Hearn, Stan (CEI-Atlanta) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:16 PM To: Krishna, Hari; [EMAIL PROTECTED] Subject: RE: string compare -Original Message- From: Krishna, Hari [mailto:[EMAIL

RE: string compare

2003-01-29 Thread Krishna, Hari
No..it didnot work..I am not too sure about the rason. But using the uc($m1) and uc($t1) helps. -Original Message- From: Bill Cernansky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:23 PM To: Krishna, Hari Cc: [EMAIL PROTECTED] Subject: Re: string compare Krishna, Hari

RE: Search a free Perl debugger

2003-02-04 Thread Krishna, Hari
When I do ppm3 install... It says, ppm3 is not recognized as an internal or external command. How do I install it?? -Original Message- From: Steve Keith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:08 PM To: [EMAIL PROTECTED] Subject: RE: Search a free Perl

RE: Search a free Perl debugger

2003-02-05 Thread Krishna, Hari
perl programs still work with new perl?? Thanks, Hari -Original Message- From: Tillman, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 7:02 AM To: 'Krishna, Hari'; [EMAIL PROTECTED] Subject: RE: Search a free Perl debugger Depending your Perl version and whether PPM

RE: Running a script more than once a day

2003-02-26 Thread Krishna, Hari
In the Scheduled Tasks you have an advanced tab where in you can mention the how many times or interval that you can repeat. See if it helps. -Original Message- From: Andrew Mansfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:41 PM To: [EMAIL PROTECTED] Subject:

RE: Running a script more than once a day

2003-02-26 Thread Krishna, Hari
Actually its not Advanced Tab, I mean to say in the Schedule tab there is an Advanced button. Click that and I feel you can do what you wanted to do. -Original Message- From: Andrew Mansfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:41 PM To: [EMAIL PROTECTED]

Delete

2003-03-19 Thread Krishna, Hari
Hello friends, I have written a perl program that downloads the files (basically ftp in a batch program) from the unix systems to windows. These files contain the ping information to various unix systems that we use. The program then calculates the uptime and downtime quarterly for these

RE: Delete

2003-03-19 Thread Krishna, Hari
, 2003 9:05 AM To: Krishna, Hari Cc: [EMAIL PROTECTED] Subject: Re: Delete Krishna, Hari wrote: Hello friends, I have written a perl program that downloads the files (basically ftp in a batch program) from the unix systems to windows. These files contain the ping information to various

OT:Unix

2003-06-27 Thread Krishna, Hari
Friends, I think its hightime for me to subscribe to a Unix group. If you guys know any, please let me know. ... I have several scripts running in the back ground and I used nohup command Every 90 days, I am needing to kill those commands and restart the process again (ie.

RE: Clear screen

2003-08-14 Thread Krishna, Hari
Hi, Long back I asked a question related to Delete a file and I finally found that there is no Delete but you need to use Unlink function. Now I have thoughts of using System(rm,filename); and execute it. Can I do it and if so what is the difference between System(rm) and Unlink? Can anyone

PERL Authentication!!

2003-11-14 Thread Krishna, Hari
Hi guys, I have been working on simulation NT login suing PERL. I used Win32::AdminMisc and I used ChangePassword function. But I needed to Really login as we do with windows login. When we Windows login, and I use net user loginname /DOMAIN than I get to see Last Login: date/time But when I

RE: perl executable

2004-03-19 Thread Krishna, Hari
Thank you so much. PAR is what I needed and its FREE. It worked PERFECTLY. Regards, Hari -Original Message- From: Peter Guzis [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 5:40 PM To: Krishna, Hari; [EMAIL PROTECTED] Subject: RE: perl executable PerlApp, Perl2Exe, or PAR

Word document

2004-04-21 Thread Krishna, Hari
Hello, I have a question about word and PERL. I need to access a word document and I need be able to access the elements of the document like Name, DOB, UnitNo etc. But the kicker is that its all present in the Page Header. I need to access so I can populate the fileds with values from HTML

finding a word

2004-04-21 Thread Krishna, Hari
Hello again, How can I find a word between two words. I have a string like Name: NEWYORK, MARSStudy Date: 04/20/2004 03:06 PM How can I extract Name: NEWYORK, MARS Study Date: 04/20/2004 03:06 PM This is the same thing related to my earlier question about the word document and PERL.

RE: finding a word

2004-04-21 Thread Krishna, Hari
[mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 2:21 PM To: Krishna, Hari Cc: Perl-Win32-Users Subject: RE: finding a word : Krishna, Hari wrote: : : Hello again, : : How can I find a word between two words. : : I have a string like : : Name: NEWYORK, MARSStudy Date

perl 5.0 and 5.8 problems

2004-06-11 Thread Krishna, Hari
Hello, I am getting CGI error CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. This used to work prefectly file on IIS5 and perl 5.0 version. Now we upgraded our server to IIS6 and perl5.8 My scripts are throwing the error. Is there anything

opening outlook

2004-10-22 Thread Krishna, Hari
Doesn anyone have any idea as how I can Open outlook and automatically pass the credentials (user name, domain and password) without being prompted? (I know if I change properties in outlook to say, NT Authentication, it works). But I can't do that/don't want to do it that way. If I can able to

comparing floting point numbers

2004-11-19 Thread Krishna, Hari
Title: A regular expression question I am trying to compare floating numbers and it doesn't seem to work.. I thought its just the same comparison as we normally do for numbers. like.. $x=5; $y=6 if($x$y) how do I do for $x=50.50; $y=36.45; if($x$y) Thanks, Hari

RE: comparing floting point numbers

2004-11-19 Thread Krishna, Hari
Exactly. I was using gt instead of That fixed it. Thanks, Hari -Original Message- From: Ed Chester [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 3:46 PM To: 'Krishna, Hari'; [EMAIL PROTECTED] Subject: RE: comparing floting point numbers I thought its just the same

java equivalent!!

2004-12-20 Thread Krishna, Hari
Hi, Is there a java equivalent for Digest::HMAC_SHA1 package? I am kind of new to java development and wanted to know if there is one that I am looking for. If I have to write on my own, where do I start? Any pointers is much appreciated. thanks, Hari CONFIDENTIALITY NOTICE: This e-mail

RE: java equivalent!!

2004-12-20 Thread Krishna, Hari
SORRY FOR THE POST!! -Original Message- From: Krishna, Hari [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 3:06 PM To: perl-win32-users Subject: java equivalent!! Hi, Is there a java equivalent for Digest::HMAC_SHA1 package? I am kind of new to java development and wanted

FTP Help

2005-06-23 Thread Krishna, Hari
How can we FTP directories and files in those directories. I ahev a directory A inside which I have several and files and Directory B which has more files and directories. I wld want to be able to FTP the entire Directory A so it can copy it to the destination. I need to FTP because the system