eskiphill has asked for the wisdom of the Perl Monks concerning the following question:
My interpretation of this would be to delete any value that looks like < !-- [anything including an eol]--> otherwise pass it on. This makes sense as this is an old roll your own template system. Am I missing anything?$var ~= s/<!--(.|\n)*-->//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Do I understand this?
by LanX (Saint) on Jan 16, 2013 at 00:08 UTC | |
|
Re: Do I understand this?
by grondilu (Friar) on Jan 16, 2013 at 06:35 UTC | |
|
Re: Do I understand this?
by locked_user sundialsvc4 (Abbot) on Jan 16, 2013 at 16:37 UTC |