Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Answer: How do you limit textarea of a form

by reptile (Monk)
on May 25, 2000 at 00:15 UTC ( #14660=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How do you limit textarea of a form - Answer contributed by reptile

A possible perl solution is removing some of the newlines, like:

s/\n{3,}/\n\n/g;

which will replace three or more newlines in a row with two (two to preserve double-spacing of paragraphs).

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-09-28 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (543 votes). Check out past polls.