RE: one question about an exercise in 'Learning Perl 4th Edition'

2011-02-11 Thread Alex Wang02
Hi, I just found the solution and reason in Chapter 8. Thanks & Regards, Alex Wang -Original Message- From: Alex Wang02 Sent: Saturday, February 12, 2011 12:42 PM To: beginners@perl.org Subject: one question about an exercise in 'Learning Perl 4th Edition' Hi, I hav

one question about an exercise in 'Learning Perl 4th Edition'

2011-02-11 Thread Alex Wang02
Hi, I have one question about the exercise No. 4 in chapter 7 . Here is the exercise : Make a program that prints each line with a word that is capitalized but not ALL capitalized. Does it match Fred but neither fred nor FRED? As suggested in the exercise, I created a small text file adhered

RE: One Question

2006-01-09 Thread Larsen, Errin M HMMA/IT
> -Original Message- >From: Gomez, Juan [mailto:[EMAIL PROTECTED] >Sent: Monday, January 09, 2006 7:48 AM >To: beginners@perl.org >Subject: One Question > > >Good Morning all!!! > Good Morning, Juan, > >I have working on several shell scripts using KSH

One Question

2006-01-09 Thread Gomez, Juan
Good Morning all!!!     I have working on several shell scripts using KSH but i like to know is there can be a way to use Perl/tk to make them run like a inside of a menu?     thanks guys         Armando Gomez Guajardo Process EngineerWork Ph   956 547 6438 Beeper    956 768 4070  

RE: one question to end the day on . . .

2002-02-03 Thread Steve Howard
Again, nothing wrong with what you did, I just wanted to point out that escaping was not a "Have to". Steve H. -Original Message- From: david wright [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 02, 2002 5:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re

Re: one question to end the day on . . .

2002-02-02 Thread david wright
Timothy B wrote: "Hello out there - I have learned a lot of Perl today, but I am still trying to figure one more thing out. How can I go through a file and extract all the text between certain delimiters - for example I have: Bilbo, "Why I like rings" Freemont Press, 1998. Frodo, "Why I don't" B

Re: one question to end the day on . . .

2002-02-01 Thread Michael R. Wolf
[EMAIL PROTECTED] (Russ Foster) writes: > 1: Open (INFILE, "report.txt" ; > 2: While () { > 3:$line =~ /\"(.+?)\"/ ; > 4:$YourTextBetweenTheQuotes = $1 ; > 5:# Do whatever you want > 6: } > 7: Close (INFILE) Properly capitalized, thats... 1: open (INFILE, "report.txt" ; 2: while ()

RE: one question to end the day on . . .

2002-02-01 Thread Russ Foster
1: Open (INFILE, "report.txt" ; 2: While () { 3: $line =~ /\"(.+?)\"/ ; 4: $YourTextBetweenTheQuotes = $1 ; 5: # Do whatever you want 6: } 7: Close (INFILE) In English : the regular express on line 3 will grab the text between quotes (expressed as \" ) with the expression .+? The p

RE: one question to end the day on . . .

2002-02-01 Thread Timothy Johnson
Sorry, that's while(){ -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 3:28 PM To: 'Booher Timothy B 1stLt AFRL/MNAC'; [EMAIL PROTECTED] Subject: RE: one question to end the day on . . . Use the split comman

Re: one question to end the day on . . .

2002-02-01 Thread Eric Beaudoin
At 18:28 2002.02.01, Booher Timothy B 1stLt AFRL/MNAC wrote: >Hello out there - I have learned a lot of Perl today, but I am still trying >to figure one more thing out. > >How can I go through a file and extract all the text between certain >delimiters - for example I have: > >Bilbo, "Why I like

RE: one question to end the day on . . .

2002-02-01 Thread Timothy Johnson
EMAIL PROTECTED] Subject: one question to end the day on . . . Hello out there - I have learned a lot of Perl today, but I am still trying to figure one more thing out. How can I go through a file and extract all the text between certain delimiters - for example I have: Bilbo, "Why I like rings&q

one question to end the day on . . .

2002-02-01 Thread Booher Timothy B 1stLt AFRL/MNAC
Hello out there - I have learned a lot of Perl today, but I am still trying to figure one more thing out. How can I go through a file and extract all the text between certain delimiters - for example I have: Bilbo, "Why I like rings" Freemont Press, 1998. Frodo, "Why I don't" Bridgedale Freema