Template Toolkit Debugging inside of Perl Dancer
The other day someone was asking how to enable Template Toolkit debugging inside of Perl Dancer in the #dancer IRC channel, it seemed like a good time for a write up.
The template engine configuration directive supports passing through various options like start_tag and stop_tag as explained in Dancer::Template::TemplateToolkit POD. And alludes to being able to pass other options.
How
To pass TT options like those found in Template::Constants, there must be a DEBUG section in engines -> template_toolkit, usually found in config.yml.
Example Snippet
Here is an example:
A few notes
- Remove leading DEBUG_ from TT constants. The option DEBUG_PLUGINS becomes plugins.
- Multiple options can be separated with a comma. Example:DEBUG: "provider,plugins".
- Be warned, some of these options can lead to tons of information :)
Hey, Wow all the posts are very informative for the people who visit this site. Good work! We also have a Website. Please feel free to visit our site. Thank you for sharing. Well written article Thank You for Sharing with Us pmp training in chennai | pmp training class in chennai | pmp training near me | pmp training courses online | pmp training fee | project management training certification
ReplyDeleteThanks for this post its help me a lot to solve my issues keep it continue click here to download Filmorago Pro APK
ReplyDeleteBeayer Strain Theory
ReplyDeleteSasche Mohr Theory
Pressure difference b/w two point
Preservation of pharmaceutical products
Materials for plant construction
Flow of fluid
Drug synergism and antagonism
Thixotropy/ Measurement of Viscosity/ Instruments
Pharmacodynamic-General introduction
binance güvenilir mi
ReplyDeleteinstagram takipçi satın al
takipçi satın al
instagram takipçi satın al
shiba coin hangi borsada
shiba coin hangi borsada
tiktok jeton hilesi
is binance safe
is binance safe
Smm panel
ReplyDeleteSmm panel
iş ilanları
İnstagram takipçi satın al
HIRDAVATÇI
beyazesyateknikservisi.com.tr
servis
jeton hilesi