eval

Code

print "hello world\n";

Output

hello world

<eval type="…">code of some sort</eval>
<eval type="…" src="uri"/>

Attributes

  • type · required, perl | javascript
  • wrap · valid XHTML tag, [pre] | div | p | …etc…
  • src · URI, including self-referencing #name so full code block can exist in document once but be called in several places
  • action · [display], display | execute (more or more allowed, handled in order)
  • name · for self-referencing URIs
  • class · kept for substituted “<wrap/>” block
  • id · for JS/DOM…?
digg stumbleupon del.icio.us reddit Fark Technorati Faves