Precisely to the point IlyaM ;-).
It all boils down to parsing a CFML code like this:
<cfset var = "foobar">
<cfset bool = "true">
<cfif bool eq "true">
print something here if bool is true.
<cfelse>
<cfif var eq "foobar">
foobar... Will dump query:
<cfquery name="foobar_query">
#foo#, #bar#
</cfquery>
<cfoutput>foobar = #foobar#</cfoutput>
</cfif>
</cfif>
This has nothing to do with HTML and therefore, using HTML::Parser(s) is either an overkill or plain useless in my case. I've posted a node in meditations explaining my design behind the module (ColdFusion parser). Read more
here.
|
"There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith
|