Damian - 6:25 pm on Jan 19, 2004 (gmt 0) put your snippet between [perl]
I hope this is ok to post, there is an undocumented UBB code that should help to avoid the smileys in perl code snippets:
[ perl ] and [ /perl ]
without the spaces. It also adds syntax colouring. Doesn't help the pipes issue though. Example below.
print "hello world, smile :)";
put your snippet between