in reply to RegExp, the magic not begin

What i'm doing wrong?

You're trying to parse perl as a way to implement a templating engine. There are many mature, well tested and working template engines on CPAN, use one and be done :)

Replies are listed 'Best First'.
Re^2: RegExp, the magic not begin
by perlmonkdr (Beadle) on Sep 26, 2010 at 20:32 UTC

    No, i'm using perl to parse php, often the modules on CPAN aren't prepared to handle all situation, in this case is a simple sucesion of variables and string, i think that i'll cut alot of time with a simple regexp.

      No, i'm using perl to parse php, often the modules on CPAN aren't prepared to handle all situation, in this case is a simple sucesion of variables and string, i think that i'll cut alot of time with a simple regexp.

      Only if you can write it :)