Re: perl help, please

2008-03-18 Thread David
- "Bart Garst" <[EMAIL PROTECTED]> wrote: > You're calling 'next' when you encounter the "abqenv () {" line - > BEFORE > you're adding that line to the @newfile array. > > I didn't debug the entire thing, but it also looks like you're doing > the ' > same thing with the "}" (line 109 in the

Re: perl help, please

2008-03-18 Thread Bart Garst
David wrote: > I'm trying to write a perl script that will > > - read a txt file with name=value pairs > - loop through a shell script (see attached .txt file) > - grab the contents of a particular function > - replace the name=value pairs from the function with the value from > the txt file > - g

perl help, please

2008-03-17 Thread David
I'm trying to write a perl script that will - read a txt file with name=value pairs - loop through a shell script (see attached .txt file) - grab the contents of a particular function - replace the name=value pairs from the function with the value from the txt file - grab the corresponding case