Thread kompaktes if-else
(6 answers)
Opened by jan99 at 2014-02-26 11:00 Quote Ja ;) Bliebe aber auch lesbar, Beispiel: Code (perl): (dl
)
1 2 3 4 $self->{CONTENT} = length($self->{CONTENT}) ? $self->{CONTENT} : do{ # beschaffe $self->{CONTENT} $self->{CONTENT}; }; |