Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[oiskuu]: ... getlogin refers to tty owner; if you close STDIN, then getlogin returns undef. I get undef in my shell (running under X)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-23 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.