Leser: 2
![]() |
|< 1 2 3 4 5 ... 20 >| | ![]() |
195 Einträge, 20 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# http://perltidy.sourceforge.net/tutorial.html
# http://perltidy.sourceforge.net/perltidy.html
--indent-columns=4 # indent at the beginning (one "tab" is 4 spaces)
--maximum-line-length=79 # max line length
--continuation-indentation=4 # indent after wrap
-b # backup original files as .bak ???
###--line-up-parantheses # for lists
--closing-token-indentation=1
-paren-tightness=1 # Container tightness, use some spaces
-bar # opening braces right with multiline-if-expr. ???
-nsbl # opening braces with one-line on same line
#--space-function-paren # space after function call: NO
#--space-keyword-paren # space between keyword and parens: NO
#--space-terminal-semicolon # space before; NO
--nospace-for-semicolon # no space before; in c-style-for-loop
--nooutdent-long-lines # don't outdent long lines
--check-syntax # perl -c -T
###--output-line-endings=unix # set output line endings to unix
--add-semicolons # add missing optional semicolons at EOL
--indent-block-comments # line up comments with code
--indent-spaced-block-comments # but only if there's a space before
--closing-side-comments # write comment end sub xyz: ???
#for vi:
#:%!perltidy -q
# or
#:%!perltidy
#for emacs: (perhaps build makro)
#C-x h # mark all text
#M-1 M-| # pipe replace
#perltidy # execute perltidy
1
2
3
4
5
6
7
8
9
10
11
my $template;
eval {
$template = HTML::Template::Compiled->new
( filename => "$path${templateFile}_template.html",
path => "$FindBin::Bin/templates",
global_vars => 1, # to be able to use global vars in LOOPs
tagstyle => [qw(+asp -comment -classic)],
cache_dir => "$ENV{PERL5LIB}/htc_cache",
%templateParams,
);
}; # eval
1
2
3
4
5
6
7
8
9
10
conf/apache.conf.template
install/installer.pl
sql/pboard_schema.sql
lib/PBoard/*.pm
bin/*.pl
html/
js/*.js
images/*.gif
styles/*.css
templates/*.html
![]() |
|< 1 2 3 4 5 ... 20 >| | ![]() |
195 Einträge, 20 Seiten |