Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Comment Removal

by Spidy (Chaplain)
on Oct 17, 2005 at 23:07 UTC ( [id://500832]=note: print w/replies, xml ) Need Help??


in reply to Comment Removal

One method I've used is to use this for comments in my HTML files:
<!--Section CONTENT-->
And then replace that with what's inside the comment tags with this:
$template =~ s/<!--Section (.+?)-->/$1/sg;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://500832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found