Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 59278
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: antony.gelberg [...] gmail.com
CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Multi-line comments failure
Date: Mon, 12 Jul 2010 15:03:59 +0300
To: bug-Template-Toolkit [...] rt.cpan.org
From: Antony Gelberg <antony.gelberg [...] gmail.com>
I've attached a simple Perl program to demonstrate this issue. When run, I'd expect it to output nothing because of the multi-line comment, but it appears that the comment is terminated by the first %] not the last one, as one would expect. This makes it somewhat difficult to comment out large chunks of development code. Please let me know if you require any more information regarding this issue.

Message body is not shown because sender requested not to inline it.

It would be convenient to have comments that do not end on %], but on something else. For ex. #%] -- Alexandr Ciornii, http://chorny.net
Ticket migrated to github as https://github.com/abw/Template2/issues/151