Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pudge (1)

pudge
  (email not shown publicly)
http://pudge.net/
AOL IM: Crimethnk (Add Buddy, Send Message)

I run this joint, see?

Journal of pudge (1)

Monday May 14, 2001
07:46 AM

This Is A Test

[ #167 ]
Just by adding this code to Slash, we can now embed code in any arbitrary post:

    $str =~ s|<foo>(.*?)</foo>|'<P>' . strip_code($1) . '</P>'|egis;

You just wrap your code in <literal> and you are all set. I put the tags in as "foo" above because, well, putting "<literal> ... </literal>" inside "<literal> ... </literal>" won't work.

This is experimental. Let me know how it works out for you.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.