Re: [Templates] umask of files created in COMPILE_DIR

2011-09-08 Thread Oleg Kostyuk
templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo

Re: [Templates] umask of files created in COMPILE_DIR

2011-09-08 Thread Oleg Kostyuk
2011/9/9 Chad Wallace cwall...@lodgingcompany.com: On Fri, 9 Sep 2011 01:31:17 +0300 Oleg Kostyuk cub.ua...@gmail.com wrote: I think, this will better show what you wanted to say to all: dev% umask 0777 dev% touch foo dev% perl -MFile::Temp -le '$File::Temp::KEEP_ALL=1; File::Temp-new

Re: [Templates] umask of files created in COMPILE_DIR

2011-09-08 Thread Oleg Kostyuk
scripts from this user. Using separate user to run scripts is also reasonable from security point of view. You can use suexec (for Apache) or FastCGI (everywhere) to accomplish this. HTH 2011/9/9 Todd Wade tr...@sbcglobal.net: - Original Message From: Oleg Kostyuk cub.ua...@gmail.com

Re: [Templates] umask of files created in COMPILE_DIR

2011-09-08 Thread Oleg Kostyuk
2011/9/9 Todd Wade tr...@sbcglobal.net: From: Oleg Kostyuk cub.ua...@gmail.com Well, then I think you satisfied your academic interest? :) With addition from Chad, everything is really clear now, I think. Everything always was clear. I just wanted to see what everyone else thinks. See one

Re: [Templates] DBIx::Class resultsets with 0, 1, 2 items

2011-04-11 Thread Oleg Kostyuk
___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templates@template-toolkit.org http://mail.template

Re: [Templates] HTML filter, but only for UTF8

2010-08-08 Thread Oleg Kostyuk
! -- Johan ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list

Re: [Templates] error in while statement

2010-03-24 Thread Oleg Kostyuk
) %] Regards, Savio ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing

Re: [Templates] HTML Plugin - value-less options (e.g. CHECKED, MULTIPLE)

2010-03-18 Thread Oleg Kostyuk
='selected'/option option ... /option option ... /option /select -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] Need help viewing DBIx::Class object in TT

2010-03-18 Thread Oleg Kostyuk
as it can be accessed from TT, like the tree above? Thanks in advance! Chris ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC

Re: [Templates] Evaluate the var as a scalar

2010-01-03 Thread Oleg Kostyuk
, because I think it should be possible to use these method calls in TT templates. Thank you. Octavian ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg

Re: [Templates] Problem with META

2010-01-03 Thread Oleg Kostyuk
/2 Andy Wardley a...@wardley.org: Oleg Kostyuk wrote: === root/src/q1.tt2 === [% META title = 'Q1' %] Q1 === root/src/q2.tt2 === [% PROCESS q2_processed.tt2 %] [...] for q2 page: $VAR1 = bless( {'_DEFBLOCKS' = {},'_BLOCK' = sub { DUMMY },'modtime' = 1262127822,'name' = 'q2.tt2

[Templates] Problem with META

2009-12-29 Thread Oleg Kostyuk
' = 0}, 'Template::Document' ); Q2 As you can see, in second case, when PROCESS directive was used, we don't have template.title - why? What is wrong? Thanks in advance. -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templates

Re: [Templates] remove space with backspace

2009-10-27 Thread Oleg Kostyuk
/lib/Template/Manual/Config.pod#PRE_CHOMP,_POST_CHOMP -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] Access a macro in all templates?

2009-10-12 Thread Oleg Kostyuk
2009/10/12 Octavian Râşniţă orasn...@gmail.com: Thank you very much! Now I just need to find how I can include this in Catalyst... Take a look at Catalyst::Helper::View::TTSite -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list

Re: [Templates] Called UNIVERSAL::can() as a function, not a method

2009-06-02 Thread Oleg Kostyuk
list Scalar::Util in PREREQ_PM. Regards, Slaven ___ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates -- Sincerely yours, Oleg Kostyuk (CUB-UANIC

Re: [Templates] Comments create newline characters

2008-07-30 Thread Oleg Kostyuk
Use as follows: [%- ## Some type of file header ### -%] See Chomping Whitespace in documentation: http://www.template-toolkit.org/docs/manual/Syntax.html#section_Chomping_Whitespace By the way, this applies not only to comments. -- Sincerely yours, Oleg Kostyuk (CUB-UANIC