Thread Variable bestimmten Wert zuweisen
(7 answers)
Opened by Tom at 2005-07-06 21:42
[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: ![]() ![]() |