run perl in Win 2000 ?

2001-05-28 Thread prachi shroff
Hi, I have WIN 2000 installed and have just started programming perl. Can somebody tell me how to set the PATH for the bin folder for the PERL executable? The #! operator does not work. Thanks, Prachi _ Get your FREE download of M

Re:run perl in win2000

2001-05-29 Thread prachi shroff
Thanks! but the path is not configured on its own. When I run PERL from the command prompt, it does give me the COMMAND NOT FOUND error. What do I do then? Original Message Follows From: Joel Divekar <[EMAIL PROTECTED]> To: "prachi shroff" <[EMAIL PROTECTED]> Su

Re: run perl in Win 2000 ?

2001-05-29 Thread prachi shroff
Thanks FOlks!! THe problem is solved after setting the PATH environment variable in the systems settings in the control panel. THanks a lot to all the suggestions everyone extended. regards, Prachi _ Get your FREE download of MS

substitution problem

2001-05-29 Thread prachi shroff
Hi again! I am having problems using the "s///" operator for substitution in of a particular pattern in a specified file. For eg. open(TRY,"+) { $_ =~ s/a/p/g; } Is this the right way of doing it? And with what access mode shall I open the file ( >> or +> or +< ) ? And is the while loop

Re: substitution problem

2001-05-29 Thread prachi shroff
Thanks! The method you suggested works, though it is not SIMPLE AND SWEET!! :-) Thanks, anyways. Prachi Original Message Follows From: "J. J. Horner" <[EMAIL PROTECTED]> To: prachi shroff <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: substitution pro

perl2exe

2001-06-01 Thread prachi shroff
Hi! I am tying to use the Perl2exe utility but am getting an error : " Invalid Platform :win32 ". I am running Win2000 and installed the exact versions recommended for the Perl I am using. Any suggestions on this will be great help. Thanks, Prachi ___

system

2001-06-07 Thread prachi shroff
Hi, I am trying to run an executable file from within my perl script using the SYSTEM command. If I run the exe from either the command line or by double clicking, it works fine, but when I embed it into the perl script it gives errors compiling. It is an exe of a C code and shows errors speci

Re: system

2001-06-07 Thread prachi shroff
within the perl script it shows errors. Also, I have run other exe from the same script and they work fine. Thanks, Prachi Original Message Follows From: Jean-Matthieu Guerin <[EMAIL PROTECTED]> To: prachi shroff <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: system Date:

RE: system

2001-06-07 Thread prachi shroff
The path is correct, coz otherwise it would have problems opening the exe itself, but here it does start executing and shows errors doing so. thanks, Prachi Original Message Follows From: "Daryl Hoyt" <[EMAIL PROTECTED]> To: "prachi shroff" <[EMAIL P

Re: system

2001-06-07 Thread prachi shroff
Hanley" <[EMAIL PROTECTED]> To: "prachi shroff" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: system Date: Thu, 7 Jun 2001 09:23:06 -0400 (EDT) A couple things could be happening here. How does the EXE being invoked by SYSTEM find the f

LWP modules

2001-06-22 Thread Prachi Shroff
Hi folks, I have been trying to automate the travelling thru a webpagefilling out forms , submitting them and capturing their output using the LWP::UserAgent and LWP::RobotUA objects..there are some forms which execute a javascript on their SUBMIT button and the on executing them from

HTML::PARSER

2001-06-25 Thread Prachi Shroff
Hi, Can somebody please explain me wha exactly does the HTML::PARSER module do? like if I use the parse() methoddoes it return me all text after extracting all the HTML tags? I could not find a proper expalnation to it in any book or documentation online. thanks, Prachi __

javascript

2001-06-27 Thread Prachi Shroff
HI! Can anyone please give any clue of how to call and execute javascripts from perl? thanks, Prachi _ Get your FREE download of MSN Explorer at http://explorer.msn.com

javascript-detail

2001-06-28 Thread Prachi Shroff
Hi folks, Well, I am actually implementing an LWP::UserAgent to walk through a website and do the things I want it to and get me the desired results(dont worry, this is a noble cause :-) ) and my problem is that there are some javascripts on that webpage which I need to execute thru my per

Re: Web Page Interaction...

2001-06-29 Thread Prachi Shroff
Hi, I have been something similar lately to what u want to do. Browsing thru webpages.filing out formsfollowing links on a page etc. LWP::UserAgent and HTTP::Request can be used to do that. I would suggest you take a look at "Web Client Programming with Perl by Clinton Wong - QReill

running CGI on a stand alone machine

2001-07-30 Thread Prachi Shroff
Hi, I have a perl script and designed a simple web page for its front end...but this package is running on a single machine and not connected to any server. when the form on the HTML page is submitted, it should run the perl script specified in the ACTION field of the form. Now, the proble

help with Math::CDF module

2002-05-16 Thread Prachi Shroff
Hello everyone! I wanted to generate normally distributed data set with a given sample size. The easiest way to it will be to have a routine that calculates the quantiles for a normal distribution. The Math::CDF module does have what I want, but I am having problems installing it. The make giv

power of

2002-05-22 Thread Prachi Shroff
Hi! This may sound as a very stupid question, but here it comes anyways. Has anybody come across a function that wold calculate the power of a number, like the pow function in C. Simply, x to the power of y. I know of 2 options, one an inefficient iterative multiplication, but I have real numb

Re: colon(:) in split --- what does it mean ?

2002-06-18 Thread Prachi Shroff
Its not a split.its a substitute. What this snippet is doing is removing anything that follows a colon and a dot. Prachi. Original Message Follows From: pn <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: colon(:) in split --- what does it mean ? Date: Tue, 18 Jun 2002 08:45

spawn processes

2001-10-25 Thread Prachi Shroff
Hi! I want to spawn multiple instances of one perl program from another perl program. I could do it with Win32::Process::Create or Win32::Spawn (this is deprecated). I am working on Windows 2000. Now, the problem is, to "Create" a child process which is a perl program, I have to convert it to