Re: Petal error messages

Fergal Daly <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
If you want to speed up Petal, you'll not have much luck with the TAL
stuff, that's close to optimal I think. The TALES stuff is what's slow
as it's interpretted at run time. See
http://search.cpan.org/~fdaly/Petal-CodePerl-0.06/ for something that
compiles all the expressions. I doubt it works against the current
version of Petal though,

F

On 5/7/05, Josh Narins <[email protected]> wrote:
> I'm not going to stop using Petal, but I have to admit the error
> messages leave a bit to be desired.
> 
> I can't even make too much out of the /tmp/petal_debug files.
> 
> Did someone previously mention dumping the value of a variable at a
> point, perhaps into html comments or something?
> 
> And, if I wrote a parser that was, say, twice as fast for Petal... um,
> could I get a job?
> 
> I might change it up a little, make it like petal:repeat="$a @array"
> where petal:repeat="$b %hash" would always imply $b would be looping
> through the keys of the hash.
> 
> :-D
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.