RE: Could anyone please answer a simple PERL question.

2004-07-08 Thread Carol Stone
Just for this thread, I have gone to ActiveState and learned how to use their search facility to find my email address to copy and update my response to someone way back on August 31, 2000 - this was my very first perl success ;-D I have added a note regarding Windows XP at the end of it. You're

[Solved] Could anyone please answer a simple PERL question.

2004-07-08 Thread Philipp Traeder
On Thursday 08 July 2004 HH:31:20, [EMAIL PROTECTED] wrote: > A sure kill is to search for "perl*" and take note of the path. Then you > can do one of the following: > Just to let you know: The "path" variable has been the problem (as Marco wrote me off-list). Another happy customer ;-) -- To

Re: Could anyone please answer a simple PERL question.

2004-07-08 Thread William . Ampeh
A sure kill is to search for "perl*" and take note of the path. Then you can do one of the following: 1./ update your path variable, verify that you have really done that with the set command. OR 2./ call up the perl interpreter using the absolute path. I think he probabily have not inst

Re: Could anyone please answer a simple PERL question.

2004-07-08 Thread Philipp Traeder
On Thursday 08 July 2004 HH:18:19, JupiterHost.Net wrote: > Marco wrote: Hi Marco, > > and on DOS prompt when I say, perl simple.pl > > it says: > > 'perl' is not recognized as an internal or external > > command, > > > > what am I missing? an execution path or something? > > Not sure, you may ne

Re: Could anyone please answer a simple PERL question.

2004-07-08 Thread JupiterHost.Net
Marco wrote: Hi Lee, Hello, I appreciate your help. No problem, just don't forget to reply to the list so everyone can learn/help :) I double click on it but it opens the file with Notes, because that's how I created it. Then you probably don't have .pl associated with perl or its not a .pl file.

Re: Could anyone please answer a simple PERL question.

2004-07-08 Thread JupiterHost.Net
Windows automatically associates a .pl file with the Perl interpreter, so simply clicking on the "yellow icon" associated with the file (assuming you have not changed it", should do the job. The down side of this is that the resulting DOS window disappears as soon at the program terminates. A sol

Re: Could anyone please answer a simple PERL question.

2004-07-08 Thread JupiterHost.Net
Marco wrote: Hi, I always used PERL in UNIX environment, so it's my Hello first time trying to run a PERL script in Windows env and I have a simple question to ask, (I know how to do this in UNIX but not in windows). I installed PERL for Windows under: C:\Z_Perl_584\Perl\bin my below simple PERL sc

Could anyone please answer a simple PERL question.

2004-07-08 Thread Marco
Hi, I always used PERL in UNIX environment, so it's my first time trying to run a PERL script in Windows env and I have a simple question to ask, (I know how to do this in UNIX but not in windows). I installed PERL for Windows under: C:\Z_Perl_584\Perl\bin my below simple PERL script is called "si

RE: simple perl question

2002-01-25 Thread Deen Hameed
Nope... the . loses its metaness when inside the character class... where the regexp *does* stuff up is that it allows more than one decimal point in the string... deen "yayy I know something!" hameed On Fri, 25 Jan 2002, John Edwards wrote: > Oh. One more thing. > > Your regex should have t

RE: simple perl question

2002-01-25 Thread Jeff 'japhy' Pinyan
On Jan 25, John Edwards said: >Your regex should have the . escaped. Currently it is matching on either a >number or *any character* between the a and z. Although this works, it may >bite you if you have a line like this... Regex metacharacters all lose their meaning inside a character class. [

Re: simple perl question

2002-01-25 Thread Frank
On Fri, Jan 25, 2002 at 01:58:00PM +1100, Stuart wrote: > Hi > Please help if you can. > Thanks again > Stuart Clark > > > How do I add all the number between the "a" and the "z" > My output file only gives me the instances of the matching pattern and > not the total > > # start of file test

RE: simple perl question

2002-01-25 Thread John Edwards
n the results. Here is how it should look /a([\d\.]+)z/ John -Original Message- From: John Edwards [mailto:[EMAIL PROTECTED]] Sent: 25 January 2002 09:16 To: 'Stuart Clark'; Perl List Subject: RE: simple perl question This line $total += /a([\d.]+)z/; is adding the numbe

RE: simple perl question

2002-01-25 Thread John Edwards
/; $total += $match; } HTH John -Original Message- From: Stuart Clark [mailto:[EMAIL PROTECTED]] Sent: 25 January 2002 02:58 To: Perl List Subject: simple perl question Hi Please help if you can. Thanks again Stuart Clark How do I add all the number between the "a" and

simple perl question

2002-01-25 Thread Stuart Clark
Hi Please help if you can. Thanks again Stuart Clark How do I add all the number between the "a" and the "z" My output file only gives me the instances of the matching pattern and not the total # start of file test 3034364717283459322a15.32zM042001H 3045434551648534245a243.56zM

Re: simple perl question

2002-01-24 Thread Jeff 'japhy' Pinyan
On Jan 25, Stuart Clark said: >How do I add all the number between the "a" and the "z" >My output file only gives me the instances of the matching pattern and >not the total > >$total += /a([\d.]+)z/; A regex in scalar context returns whether or not it matched. If you want to get th

simple perl question

2002-01-24 Thread Stuart Clark
Hi Please help if you can. Kind Regards Stuart Clark How do I add all the number between the "a" and the "z" My output file only gives me the instances of the matching pattern and not the total # start of file test 3034364717283459322a15.32zM042001H 3045434551648534245a243.56zM

RE: simple Perl question

2001-06-12 Thread Wagner-David
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001 13:09 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: simple Perl question I have a very simple question.. i want to know how can I tell my program to go back to the beginning of t

Re: simple Perl question

2001-06-12 Thread Paul
--- [EMAIL PROTECTED] wrote: > I have a very simple question.. i want to know how can I tell my > program to go back to the beginning of the program depending on the > user input? > > Candice Not homework, is it? If so, you should really say that before posting the question. Even so, here's a h

simple Perl question

2001-06-12 Thread YurikoCutie928
I have a very simple question.. i want to know how can I tell my program to go back to the beginning of the program depending on the user input? Candice