Schrift
[thread]4557[/thread]

HTML::Template::Compiled (HTC) (Seite 17)

Leser: 31


<< |< 1 ... 14 15 16 17 18 19 20 21 >| >> 210 Einträge, 21 Seiten
pq
 2007-03-19 11:16
#40944 #40944
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=Ronnie,18.03.2007, 21:55]Ich habe gerade die 0.84 per cpan auf ein Debian-System installiert. Das ganze lief mehrmals schief. Es schienen Abhängigkeiten nicht aufgelöst zu werden. Nachdem ich 'ne Unmenge anderes Zeug installiert hatte, konnte ich auch HTC installieren. Ich weiß das dies leider kein vernünftiger Bug-Report ist - zumal es kein Bug im eigentlichen Sinne ist, sondern eher ein Problem von cpan.[/quote]
also es würde mich wirklich freuen, wenn du mir sagen könntest, *was*
du installieren musstest. sonst kann ich mit deinem posting so gar
nix anfangen.
ab perl 5.8 sollte zumindest alles durchlaufen (mit HTML::Entities
und URI::Escape, die beiden module sind zwar optional, werden aber
in 2 tests noch benutzt, ohne zu prüfen, das wird sich in 0.85 erledigt
haben).
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
pq
 2007-03-19 11:18
#40945 #40945
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=Ronnie,18.03.2007, 22:40]Hallo opi,

ich vermute das es etwas war, was bei Moose als Abhängigkeit mitinstalliert wurde. Sicher bin ich aber nicht. Die (virtuelle) Box musste einsatzfähig werden, da war leider kaum Zeit mal näher zu schauen.

Gruß,
Ronnie[/quote]
HTC hat doch nix mit moose zu tun...
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
bloonix
 2007-03-19 11:30
#40946 #40946
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Code: (dl )
1
2
3
4
5
t/17_escape....................ok 6/4# Looks like you planned 4 tests but ran 2 extra.
t/17_escape....................dubious                                      
       Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-6
       Failed 2/4 tests, 50.00% okay (less 3 skipped tests: -1 okay, -25.00%)


Bei Änderung der Zeile

skip "no HTML::Entities installed", 3, unless $entities;

nach

skip "no HTML::Entities installed", 1, unless $entities;

läuft der Test einwandfrei durch.

Oder auch

use Test::More tests => 4;

nach

use Test::More qw(no_plan);\n\n

<!--EDIT|opi|1174296841-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.
pq
 2007-03-19 11:52
#40947 #40947
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=opi,19.03.2007, 10:30]Bei Änderung der Zeile
[...][/quote]
ich weiss, deshalb sagte ich ja, das sollte in 0.85 behoben sein.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
bloonix
 2007-03-19 12:01
#40948 #40948
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Du schriebst, das HTML::Entities und URI::Escape in 2 Tests benutzt wird,
es sind aber 3, allerdings 17_escape.t ohne URI::Ecscape... daher wußte
ich nicht, ob dir dieser Test auch aufgefallen war.

Code: (dl )
1
2
3
4
~/HTML-Template-Compiled-0.84/t# grep "require HTML::Entities" *
01_HTML-Template-Compiled.t:eval { require HTML::Entities };
15_comment.t:eval { require HTML::Entities };
17_escape.t:eval { require HTML::Entities };
\n\n

<!--EDIT|opi|1174298525-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.
Ronnie
 2007-03-19 18:32
#40949 #40949
User since
2003-08-14
2022 Artikel
BenutzerIn
[default_avatar]
[quote=pq,19.03.2007, 10:18]HTC hat doch nix mit moose zu tun...[/quote]
Hi pq,

da habe ich auch nicht behauptet. Nur Moose war das letzte was ich vor HTC installiert hatte. Deshalb bestand die Möglichkeit, das ein Modul, das in Abhängigkeit von Moose installiert wurde, auch mein HTC Problem gelöst hat. Da ich aber vorher noch diverses anderes Zeug installiert habe, war das eine reine Mutmaßung.

Gruß,
Ronnie
pq
 2007-04-15 19:23
#40950 #40950
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
0.85 Sun Apr 15 16:15:22 CEST 2007
- New Feature: JOIN attribute for loop-tag
- Fix: uri_escape_utf8 for parameters in utf8
- Fix for DBIx::Class objects ('can' method doesn't work here like expected)
- Fix: Allow <%= array_of_arrays[0][0] %>
- New Feature: get count of array elements <%= array# %>


und der vollständigkeit halber:
Code: (dl )
1
2
3
4
5
6
7
8
9
0.84 Sun Feb 11 15:43:38 CET 2007
- Bugfix: includes in var includes didn't expire cache
- Bugfix: tagstyle and use_perl weren't correctly passed to includes
 when using filecache
- Bugfix: plugins weren't safed in file cache

0.83 Tue Nov 28 22:59:06 CET 2006
- Added Feature: TMPL_EACH
- Added missing plugin feature
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
pq
 2007-06-12 00:51
#40951 #40951
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
7
8
0.86 Mon Jun 11 22:38:04 CEST 2007                                                                
- Experimental Feature: use Storable for filecaching (set
 $HTML::Template::Compiled::Storable to 1 if you want to test it.
 It should be 1.5-2 times as fast as normal filecaching)
- Fix: a test didn't skip if necessary
- utf8 in templates (you probably need Encode (and thus 5.8) for that)
- Fix: recursive includes didn't really work because of compile-time
 instead of runtime check
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
pq
 2007-07-31 16:34
#96946 #96946
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
0.87 Mon Jul 30 22:46:31 CEST 2007
- Change: file-caching now stores as Storable. If you get problems
with file-caching please report and set $HTML::Template::Compiled::Storable to 0
as a workaround.
- Change: escape=HTML now only escapes '"&<>
http://rt.cpan.org/Public/Bug/Display.html?id=27446
- Change: allow every character for TMPL_* NAMEs
http://rt.cpan.org/Ticket/Display.html?id=28094
- Bugfix: ALIAS did only work for simple varnames
http://rt.cpan.org/Ticket/Display.html?id=28430
- Change: in future versions you should use file_cache and
file_cache_dir like in HTML::Template
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
GwenDragon
 2007-10-29 10:27
#101522 #101522
User since
2005-01-17
14848 Artikel
Admin1
[Homepage]
user image
@pq

Übrigens, du hast einen Fehler in der HTC 0.88 in deiner Datei examples/DHTML.html.
Das CSS gehört iemals nicht in den Body-Bereich sondern in den Head.
<< |< 1 ... 14 15 16 17 18 19 20 21 >| >> 210 Einträge, 21 Seiten



View all threads created 2005-06-26 15:48.