Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Adding content blocks to a static website

by xyzzy (Pilgrim)
on Sep 06, 2011 at 16:13 UTC ( #924425=note: print w/replies, xml ) Need Help??

in reply to Adding content blocks to a static website

If you don't trust your users to use proper tags for formatting and markup (and you shouldn't), a really good tool is Text::Markup. It has fairly simple and straightforward syntax, and it will make things like links a lot easier for your users than having to write out anchor tags. Also you won't have to worry so much about unclosed <b>s and <i>s messing up your whole page

$,=qq.\n.;print q.\/\/____\/.,q./\ \ / / \\.,q.    /_/__.,q..
Happy, sober, smart: pick two.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924425]
[Discipulus]: why perl -e 'print q(\'a string\'),"\n"' gives -bash: syntax error near unexpected token `)' ??
[Discipulus]: i'm not escaping correctly?
[moritz]: Discipulus] iirc bash doesn't let you escape ' with \
[moritz]: not inside a single-qouted string at least
[moritz]: echo 'a'\''

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-11-24 10:13 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (346 votes). Check out past polls.