Re: Help ? Trying to pre-cache - Patch Submission
Bruno Postle <[email protected]> Fri, 24 Feb 2006 13:21:48 +0000
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
On Fri 17-Feb-2006 at 02:49 -0500, Jonathan wrote: > The patch simply does this: > 1- add a "cache_only" option to templates (default 0) ( the > internal var is $CACHE_ONLY ) > 2- if cache_only is set, Petal returns true (1) after the > eval block that attempts to interpolate data into the > template ( and a line before Petal would otherwise have a > fatal error if no data is passed in ) This looks useful and shouldn't break anything. Can you send the patch again as an attachment? The inline version is mangled by line-wrapping and I can't get it to apply. -- Bruno