Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Reply

by srawls (Friar)
on Jun 09, 2001 at 01:34 UTC ( [id://87087]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: Reply

Did I hear golf?
sub a{ $_=pop; $i+=$++1while s/Re:\^?(\d*) *//; "Re:^$i $_" }
That weighs in at 50 chars, and it handles cases such as: "Re: Re:^3 title" by adding the 2 "Re:"s and the 3, since three "Re:"s have been taken out before, which was denoted by the ^3.

The 15 year old, freshman programmer,
Stephen Rawls

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found