Hi,

Further to my original problem (occasionally having problems parsing a
template file with mod_perl), I've narrowed down the problem to what
appears to be a bug in Perl's pattern matching. Printing the contents of
the $chunk variable shows it's perfectly valid, whereas the $which
variable (assigned directly from $1 of the pattern match) contains
gibberish - but interesting exactly the same gibberish every time.

Does anybody know if this is a known Perl bug? Also, I'm wondering if
the large pattern match to look for tags is causing problems - I can
imagine if anything is going to tickle bugs in Perl's RE engine, it's
going to be a very long pattern. Is there any reason this wasn't done as
a set of separate matches? I'm tempted to split it up to see if it
solves (or at least works around) the problem, but I was wondering if
there's some reason why this wouldn't be a good idea.

In case it helps I'm using:

Apache: 2.0.40
mod_perl: 1.99.05 (I'm not quite sure about the minor number, got it
from the RPM name)
Perl: 5.8.0

Cheers,

    - Andy




******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the 
intended recipient.  Any unauthorized review, use or distribution by others is 
strictly prohibited.  If you have received the message in error, please advise the 
sender by reply email @globespanvirata.com, and delete the message. Thank you."
************************************************************



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to