Re: parsing template

2009-12-16 Thread Philip Potter
2009/12/16 Avani : > Hi all, > > I am very new to perl. I have to parse template in perl. > > do anybody have any reference code to do it? > > currently I am using regular expression. Right now, i m only able to > replace variables. HOw to do it for "for loop" and "if conditions" ? You may have to

Re: parsing template

2009-12-16 Thread Shlomi Fish
On Wednesday 16 Dec 2009 10:10:24 Avani wrote: > Hi all, > > I am very new to perl. I have to parse template in perl. > > do anybody have any reference code to do it? > > currently I am using regular expression. Right now, i m only able to > replace variables. HOw to do it for "for loop" and "if