Template parser this time :)
I've got a bit to go before I catch GT's but this is turning out to be awesome...I'm soooooo happy
....and only 45 lines .
Will support:
<%include foo.html%>
<%BLA%>
<%if BAR%> I found BAR <%endif%>
<%if BAR and FOO%> Found FOO and BAR <%endif%>
<%if BAR or FOO%> Found FOO or BAR <%endif%>
<%if BAR == FOO%> FOO equals BAR <%endif%>
<%if BAR eq FOO%> FOO equals BAR <%endif%>
<%if BAR ne FOO%> FOO doesn't equal BAR <%endif%>
<%if BAR != FOO%> FOO doesn't equal BAR <%endif%>
<%if BAR > FOO%> BAR grater than FOO <%endif%>
<%if BAR < FOO%> FOO greater than BAR <%endif%>
<%if BAR gt FOO%> BAR greater than FOO <%endif%>
<%if BAR lt FOO%> BAR less than FOO <%endif%>
....shall I go on?....ok......
<%if BAR%> I found BAR <%else%> No BAR :( <%endif%>
<%if BAR and FOO%> Found FOO and BAR <%else%> I'm bored <%endif%>
<%if BAR or FOO%> Found FOO or BAR <%else%> I'm bored <%endif%>
<%if BAR == FOO%> FOO equals BAR <%else%> I'm bored <%endif%>
<%if BAR eq FOO%> FOO equals BAR <%else%> I'm bored <%endif%>
<%if BAR ne FOO%> FOO doesn't equal BAR <%else%> I'm bored <%endif%>
<%if BAR != FOO%> FOO doesn't equal BAR <%else%> I'm bored <%endif%>
<%if BAR > FOO%> BAR grater than FOO <%else%> I'm bored <%endif%>
<%if BAR < FOO%> FOO greater than BAR <%else%> I'm bored <%endif%>
<%if BAR gt FOO%> BAR greater than FOO <%else%> I'm bored <%endif%>
<%if BAR lt FOO%> BAR less than FOO <%else%> I'm bored <%endif%>
Wooohooooooo
I know it isn't a patch on GT::Template::Parser but I'm so proud of it :)
I'm not being conceited either...hehe
BTW for anyone interested by gran had 20 bags of blood platelets and is feeling a little better. 20 bags? I didn't think you could fit that much in your body :)
I've got a bit to go before I catch GT's but this is turning out to be awesome...I'm soooooo happy
....and only 45 lines .
Will support:
<%include foo.html%>
<%BLA%>
<%if BAR%> I found BAR <%endif%>
<%if BAR and FOO%> Found FOO and BAR <%endif%>
<%if BAR or FOO%> Found FOO or BAR <%endif%>
<%if BAR == FOO%> FOO equals BAR <%endif%>
<%if BAR eq FOO%> FOO equals BAR <%endif%>
<%if BAR ne FOO%> FOO doesn't equal BAR <%endif%>
<%if BAR != FOO%> FOO doesn't equal BAR <%endif%>
<%if BAR > FOO%> BAR grater than FOO <%endif%>
<%if BAR < FOO%> FOO greater than BAR <%endif%>
<%if BAR gt FOO%> BAR greater than FOO <%endif%>
<%if BAR lt FOO%> BAR less than FOO <%endif%>
....shall I go on?....ok......
<%if BAR%> I found BAR <%else%> No BAR :( <%endif%>
<%if BAR and FOO%> Found FOO and BAR <%else%> I'm bored <%endif%>
<%if BAR or FOO%> Found FOO or BAR <%else%> I'm bored <%endif%>
<%if BAR == FOO%> FOO equals BAR <%else%> I'm bored <%endif%>
<%if BAR eq FOO%> FOO equals BAR <%else%> I'm bored <%endif%>
<%if BAR ne FOO%> FOO doesn't equal BAR <%else%> I'm bored <%endif%>
<%if BAR != FOO%> FOO doesn't equal BAR <%else%> I'm bored <%endif%>
<%if BAR > FOO%> BAR grater than FOO <%else%> I'm bored <%endif%>
<%if BAR < FOO%> FOO greater than BAR <%else%> I'm bored <%endif%>
<%if BAR gt FOO%> BAR greater than FOO <%else%> I'm bored <%endif%>
<%if BAR lt FOO%> BAR less than FOO <%else%> I'm bored <%endif%>
Wooohooooooo
I know it isn't a patch on GT::Template::Parser but I'm so proud of it :)
I'm not being conceited either...hehe
BTW for anyone interested by gran had 20 bags of blood platelets and is feeling a little better. 20 bags? I didn't think you could fit that much in your body :)