Re: probably a simple question

2002-06-05 Thread Rajeev Rumale
If you have not already got the solution try this. I am sure the gurus out there can clean up the code to make it short. # --- testing the fuction -- # --- $i simulating the row number or cell number as you wish -- for ($i=0; $i<10; $i++){ print &get_cell_color($i); } # --- function to se

Running Perl script as Service on win2k

2002-06-04 Thread Rajeev Rumale
Hi, I have a perl script which runs as server/demon and needs to be runing always. currently I am starting the script using a batch file. But doing this it pops up a window. and if some user closes the window the script stops. Also the pop up window is bit annoying and it makes no sense for

Spliting a string on "."

2002-04-02 Thread Rajeev Rumale
Hi I have a sub routine listed at end. I request you to kindly tell me the mistake in this. I am not able to split the the string "12.12.1975" on the "." seprator. also when I try ot repace the dot with some other variable useing the statement $date=~s/./#/g; It is repalcing all the charc

Re: dot-named sub

2001-10-02 Thread Rajeev Rumale
Great ! I just never used that. so could not gvie the code. Wel coming your question Why we need to put dot in name ? Well only "_brian_d_foy <[EMAIL PROTECTED]>" can answer that , as he/she has posted the question. with regards Rajeev Rumale - Original Message

Re: dot-named sub

2001-10-02 Thread Rajeev Rumale
ot; have a "dot" Applogies in advance if I am worng, I just could not resist taking chances. Rajeev Rumale - Original Message - From: "Brett W. McCoy" <[EMAIL PROTECTED]> To: "José Luis Sancho" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

Re: CGI script to change user's password.

2001-10-02 Thread Rajeev Rumale
its possible and its very easy. You can even creat and delete users. Just read about invoking shell scripts or executing system commands. But as you are changing the system passwords. first you should know about implementing Secure Socket Layer (SSL), other wise it would be easier for hacker to t

Re: Return code to exit from a .bat file

2001-10-01 Thread Rajeev Rumale
You can use label and goto to achive this. create a lable end of the batch file. ": FILE_ERROR The check for the condition if it is false then use statement. "GOTO FILE_ERROR". This will send the cursor to last label. and will stop you can instert a echo command also after this. echo " Stopped

Re: Same date next month?

2001-09-30 Thread Rajeev Rumale
Yea I agree very much with you Bill. But then we are looking for customer point of few, which K. Old's employer may not like and might lose his/her job. :-( Well also if the batchs are big then the there would be tremedous load on the billing system. I think we should better leave this to the com

Extracting Data from word document file.

2001-09-17 Thread Rajeev Rumale
easier for the user if some how I can read the template, extarct the data and populate the database. I would like to get a advice from all the gurus if this can be done useing perl alone or needs external programs. with regards Rajeev Rumale -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Urgent !!! installing Storable.pm

2001-09-07 Thread Rajeev Rumale
. --- - Original Message - From: "Rob Dixon" <[EMAIL PROTECTED]> To: "Rajeev Rumale" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 07, 2001 5:08 PM Subject: RE: Urgent !!! installing St

Urgent !!! installing Storable.pm

2001-09-06 Thread Rajeev Rumale
Hi, I need to install and use the Storable.pm in my machine. I am useing Active Perl on Win2k machine. I have not done this before. Its urgent, kindly let me know the procedure for same. rajeev -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Http Session - cookie Problem

2001-08-28 Thread Rajeev Rumale
practically. But since the cookie is not passed on to the server even if the brower is close and a new session is started. This causes a data mix-up. Can I somehow make the cookie expire if the browser instance is shut down. with regards Rajeev Rumale

Re: PERL and HTML question...

2001-08-07 Thread Rajeev Rumale
capacities and versions. I think above 4.0 ie and netscape recognize this tag. Check out the w3c.org for more details. with regards Rajeev Rumale - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: "Beginners (E-mail)" <[EMAIL PROTECTED]>

Re: getting the calling function name.

2001-08-06 Thread Rajeev Rumale
print LOGGER "\n"; close LOGGER; } So if the sub "someSub" is called The information I expect in the file is . called from someSub Here is the message. -----

Re: how to matching pattern of a scalar?

2001-08-06 Thread Rajeev Rumale
try this $list = $find =~ /$scalar/; Rajeev - A little bit added to what you've already got gives you a little bit more.-P.G. WOODHOUSE - Original Message - From: "Aza Lsaja"

getting the calling function name.

2001-08-06 Thread Rajeev Rumale
ide x \n $debug_message"); I feel it would be better as a prgramming style if sub debugLog is able to find the name of the "calling function" or the name of the function "calling" this sub and genrate the appropriate m

Problems - File Uploading and creation date

2001-08-02 Thread Rajeev Rumale
Dear firends, I have situation were user can upload a file to our web base application. The problem is with the date of creation. When ever a new file is uploaded, I need to first check of the file with same name exists. If it exist then i need to check if it is newer than the file being uploade

Sub String extraction

2001-08-01 Thread Rajeev Rumale
) ? $1 : 'No Title'; print $title; I am working on Active Perl on Win2K machine. thanks in advance Rajeev Rumale ** "The human race has one really effecti

overriding exit();

2001-07-18 Thread Rajeev Rumale
y it would solve the problem as this is called by default at the end. Kindly let me know how I if this is correct way? and if so how can I do this with interfering with exit() in other modules. with regards Rajeev Rumale ~~~~~~~ Rajeev Rumale M

Re: CGI-PERL-HTML.......HELP!!!!!!!!!!!!!!!

2001-07-16 Thread Rajeev Rumale
Dear rahul, Here is a sample code for something you want to do. just add the file handling process to it. Rajeev Rumale ___ Yesterday is history. Tomorrow a mystery. Today is a gift. That's why it's call

Re: Regrex - ignoring the boundaries

2001-07-11 Thread Rajeev Rumale
Thanks. For the main problem, and also for the unforeseen onces :-) with regards Rajeev Rumale ___ Yesterday is history. Tomorrow a mystery. Today is a gift. That's why it's call

Regrex - ignoring the boundaries

2001-07-11 Thread Rajeev Rumale
ems for webdesingers while debuggin html code. Can we do this without removing "\n" char? I am attaching both perl code and html file(zipped together). Please check out and let me know where I am wrong. with regards Rajeev Rumale _

Re: Another Newbie

2001-07-09 Thread Rajeev Rumale
I used http://www.netcat.co.uk/rob/perl/win32perltut.html for the begining lesssons Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The

Re: XML

2001-07-09 Thread Rajeev Rumale
Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Bencoolen, Email : [EMAIL PROTECTED] Bencoolen Street, Singapore - 189648

SQL - Multiple Updates ?

2001-07-05 Thread Rajeev Rumale
04') or (industry_id='005'))" 2. $dbh = DBI->connect($site{dsn}); $sql .="update industry_list set deleted='y' where industry_id = ?"; my $sth = $dbh->prepare($sql); @del_list = split(",", $in{del_industry}); foreach $del_id (@del_list

SQL - Multiple Updates ?

2001-07-05 Thread Rajeev Rumale
Greetings !. I have some problem with executing a SQL update statement while updating multiple records at a time. I have tried different ways but it is udating one a single (first) record. The same sql statement works perfectly when run directly on the MY SQL prompt. The code i have used are

Loops - Killing of Process on Win2k.

2001-07-03 Thread Rajeev Rumale
am unable to kill it using Task manager. The only way i get rid of this is by rebooting the system. Kindly advice if there better option for killing the process or testing such loops which might get into infinit loop. regards Raj

Re: Editor

2001-07-03 Thread Rajeev Rumale
You must have got many good ones by now. If not here is one more shareware. http://www.ultraedit.com Rajeev ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B

Log Analyzer for IIS on win2k.

2001-07-01 Thread Rajeev Rumale
Greetings. Please advice I am looking for a log analyzer scripts for IIS over win2k if possible Freeware. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65

Re: writing readable Perl

2001-06-28 Thread Rajeev Rumale
Dear Greeg, >. I intend this e-mail for the more knowledgeable > programmers who are reading this mailing list. Well though I don't fall in that category. I have very much felt the need of same. We can give it a start and soon we will reach the end also...;-) Ra

Populating string (scalar)

2001-06-28 Thread Rajeev Rumale
need not escape the / char in "; Can we use any similar method to assing a value to any scalar, Sorry if I am asking a stupid question. with regards Rajeev Rumale ~~~~~~~~~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,

Re: Debugging the CGI - Application

2001-06-26 Thread Rajeev Rumale
Thanks again. Thats a very Nice piece of information ? But unfortunatelly I am using IIS on Win2k platform. I still condsider it as a very useful and important piece of information on this list. with regards Rajeev Rumale ~~~ Rajeev

Re: Debugging the CGI - Application

2001-06-26 Thread Rajeev Rumale
Thanks Me ! ;-|? Thanks Me <[EMAIL PROTECTED]> :-) Nice to get a suggestion so fast. It works ! Any more suggestion ? with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net P

Re: Paging the Data..

2001-06-26 Thread Rajeev Rumale
Aziz and Steve is the right thing for me. Also I can do away with managing the temp files also. Since i am using My SQL, I should not be getting any probelms :-) with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd

Debugging the CGI - Application

2001-06-26 Thread Rajeev Rumale
. I would be greatfull if any one can give me better solutions for this. with regards Rajeev Rumale ~~~~~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The

Re: Unsubscribing

2001-06-26 Thread Rajeev Rumale
ED]' or Where the BCC line contains '[EMAIL PROTECTED]' Move it to the Beginners Help folder Rajeev Rumale ~~~~~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)88315

Paging the Data..

2001-06-26 Thread Rajeev Rumale
there is a effecient solution for same. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Bencoolen

Re: Large File Sort

2001-06-25 Thread Rajeev Rumale
20 MB, then any common alogrithm would do the work. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Benc

Re: /g

2001-06-25 Thread Rajeev Rumale
Oh well! its a quite intersting using /g I am sure all the beginners will love these neat way of coding.:-) Thanks Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530

Re: Want a program!!!

2001-06-24 Thread Rajeev Rumale
intervals. Regards Rajeev Rumale ~~~~~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Bencoolen, Email : [EMAIL PROTECTED] Bencoo

Re: Exceptions ( catching and handeling).

2001-06-24 Thread Rajeev Rumale
Dear Me, Thank U for for the reply. I like the short code which you wrote. I am just migrating from java to perl. Currently i write lengthy code just for readability. I sure would be able to pick the shortcuts soon. with regards Rajeev Rumale

Re: Exceptions ( catching and handeling).

2001-06-24 Thread Rajeev Rumale
e ") { eval { .. . read form files. process info... write back to files }; ( $@ ) ? ($done="false") : ($done="true"); } This will loop is supposed to keep trying till the work is done. (a counter is added for specfic

Exceptions ( catching and handeling).

2001-06-24 Thread Rajeev Rumale
correct usage of eval{} blocks. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Bencoolen, Email

Re: Pooling of objects and session data

2001-06-24 Thread Rajeev Rumale
Thats very nice of you. Wating eargerly for you mail with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65)8831530 (office) #04-01, 180 B, The Bencoolen

Re: Pooling of objects and session data

2001-06-22 Thread Rajeev Rumale
tween different threads ? If so does it have any effect on the Network (ie.,increase traffic etc.,) Can we have threads communicating using pipes ( Appologies in Advance . I am not very fimiliar with Unix environment and Pipes ). with regards Rajeev R

Re: Pooling of objects and session data

2001-06-22 Thread Rajeev Rumale
-threaded programs in PERL. I would be greatfull if any one can suggest me some good online tutorial for the same. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,Phone : (65

Pooling of objects and session data

2001-06-20 Thread Rajeev Rumale
Hi, I need to know if there is any easiest way to keep session data or object accross the scripts. Basically I would like to pool Database connections so that Parrallel running scripts don't open multiple connection with the database. with regards Rajeev Rumale - Original Me