Thread Variable bestimmten Wert zuweisen (7 answers)
Opened by Tom at 2005-07-06 21:42

pq
 2005-07-07 12:12
#5221 #5221
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
[quote=Tom,06.07.2005, 22:29]@pq

Das war mein Code
Code: (dl )
 $l_comment_s = ($ref->{'comments'}) ? (($ref->{'comments'} == 1) ? $lang{Comments_total}) : $lang{Comment_total};


Mit renee`s Code klappt es wunderbar
[/quote]
wenn du dir den php-code anschaust, siehst du ja zwei fragezeichen und
zwei doppelpunkte. in perl hast du nur einen doppelpunkt. klar, dass das
schiefgeht.\n\n

<!--EDIT|pq|1120724205-->
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

View full thread Variable bestimmten Wert zuweisen