On Mon, 8 Dec 2003, Wayne Walker wrote:

WW>I would actually like a function to tell me what variables and or loops
WW>in the template were NOT populated.  That way I can email or log the
WW>fact.  This often happens when a web designer includes a component the
WW>developer doesn't know about so it is not getting populated.

That's relatively simple: just loop through $template->param() and find
everything that's !defined $template->param($_).  (Or something like
that... blame antihistamines for anything goofy in the preceding.)

That might be a good recipe (a la Perl Cookbook) to include in the
documentation, though.  Especially fancy variations that can look inside
loops.

-- 
Karen J. Cravens  [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to