Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Golf: Fix de facto HTML comments

by Chady (Priest)
on Jul 19, 2004 at 07:47 UTC ( #375476=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/(?<=<!--)(.*?)-->/($_=$1);s|--|-|g;s|-$||;"$_-->"/seg
    
  2. or download this
    s/(?<=<!--)(.*?)-->/($_=$1);s|--|-|g;s|-$||;"[$_]-->"/seg
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-11-27 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (183 votes), past polls