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
ld 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)
___
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates
2009/10/12 Octavian Râşniţă :
> 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
tem
/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
s", in meaning "nation" and "nations". And I
think with original phrase, "Peoples of [%- planet -%] ..." - it
sounds reasonable, isn't? ;)
--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)
___
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates
7;}, 'Template::Document' );
Q1
for q2 page:
$VAR1 = bless( {'_DEFBLOCKS' => {},'_BLOCK' => sub { "DUMMY"
},'modtime' => 1262127822,'name' => 'q2.tt2','_HOT' => 0},
'Template::Document' );
Q2
As y
>
>
> _______
> 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-toolkit.org/mailman/listinfo/templates
was inattentive.
2010/1/2 Andy Wardley :
> Oleg Kostyuk wrote:
>>
>> === root/src/q1.tt2 ===
>> [% META title = 'Q1' %]
>> Q1
>>
>> === root/src/q2.tt2 ===
>> [% PROCESS q2_processed.tt2 %]
>>
>
> [...]
>
>> for q2 page:
By XHTML, you should:
1) use lowercased names for tags
2) use "... option='option' ..." syntax
So, finaly you should get:
--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)
___
te
usly has a way of accessing these in a more simplified form.
> Is there a way to view the stash as it can be accessed from TT, like
> the tree above?
>
> Thanks in advance!
> Chris
>
> ___
> templates mailing list
> templates@t
t; [% counter = 0 %]
> [% WHILE (counter < info.size) %]
>
>
> Regards,
> Savio
>
>
>
>
> ___
> templates mailing list
> templates@template-toolkit.org
> http://mail.template-toolkit.org/mailman/listinfo/templates
>
--
Sin
->{ _CONFIG }->{name} || 'utf8tohtml';
> $self->install_filter($name);
> return $self;
> }
>
> sub filter {
> my ( $self, $parameter ) = @_;
> encode_entities( $parameter, '^\n\x20-\x7e' );
> $parameter;
> }
&g
e(LANGUAGE) %]
>
> [% ELSE %]
> , [% author.get_name(LANGUAGE) %]
> [% END %]
>
> [% END # of authors loop%]
>
>
> ___
> templates mailing list
> templates@template-toolkit.org
> http://mail.template
rk when there
> are zero items and when there are two or more items, but fail when there
> is just one item.
>
> Can anybody point me to the best idiom for this please?
>
> Thanks, Dave
>
> ___
> templates mailing list
> templates@template-toolkit.org
>
ase, continue to use different words to say the same thing I am while
> calling
> me wrong and you right. I'm curious as to how long you'll go.
>
> Todd W.
>
> ___
> templates mailing list
> templates@template-toolkit.or
2011/9/9 Chad Wallace :
> On Fri, 9 Sep 2011 01:31:17 +0300
> Oleg Kostyuk 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
r, and run 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 :
>
>
> - Original Message ----
>
> From: Oleg Kostyuk
>>
2011/9/9 Todd Wade :
>
>
> From: Oleg Kostyuk
>> 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.
>
&
18 matches
Mail list logo