There's been quite a few posts recently where folks have posted perl code as part of their query. Because postings are treated like HTML, the code ends up as one big paragraph and becomes difficult to read.<br><br>The guys at Tek-Tips implemented TGML (Tecumseh Group Markup Language ;^) quite some time ago to help folks get around this problem.<br><br>Basically, TGML works like HTML, but instead of "<" and ">" tag markers, you use "[" and "]". Your tags should not contain spaces after "[" or before "]". <br><br>In the examples below, I've put spaces into the tags that are being displayed so that they will be displayed. What you won't see if the "proper" tags that are doing the actual markup.<br><br><b>Using [ tt ] and [ /tt ] to post scripts</b><br>[ tt ] goes here<FONT FACE=monospace><br>#!/usr/bin/perl<br><br>@Array = ("Hello", "World"
;<br><br>foreach $item (@Array) {<br> print $item, " ";<br>}<br><br>print "\n";<br></font>and [ /tt ] goes here.<br><br><b>Using [ b ] and [ /b ] to make words appear in bold</b><br>Just use [ b ]<b>before and [ /b ]</b> after the text to bold.<br><br>Anyway, you get the idea. Off to the right hand side of the page you will see a "Helpful Tips" box. Click on the [a href="<A HREF="[URL unfurl="true"]http://www.tek-tips.com/sitehelp.cfm""[/URL] TARGET="_new">]See Full List[/a] link for more information on TGML. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
0 1 - Just my two bits