>>>>> "Bill" == Bill Moseley <[EMAIL PROTECTED]> writes:
Bill> Or as suggested in the docs: Bill> MACRO link( path, text ) BLOCK; Bill> p = path | uri | html; Bill> t = text | html; Bill> "<a href='$p'>$t</a>"; Bill> END; This is where you keep going off the deep end. It doesn't say "path | uri | html". It says "filename | uri | html". "path" is presumedly "filename | uri", with possibly some form parameters and fragment after it. Pay close attention to what the docs are saying. To go from a *filename* to a *URI*, you must "uri" encode it. To put a path into HTML, you must "html" encode it. That's what the doc is saying. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
