my $satz2 = $table_stat->itemCget($r, $c, -text)?$table_stat->itemCget($r, $c, -text):"";
1 2 3 4 5
my $satz2 = defined($table_stat->itemCget($r, $c, -text)) && length($table_stat->itemCget($r, $c, -text)) ? $table_stat->itemCget($r, $c, -text) : "";
2011-11-17T09:09:53 GwenDragonCode (perl): (dl )1 2 3 4 5my $satz2 = defined($table_stat->itemCget($r, $c, -text)) && length($table_stat->itemCget($r, $c, -text)) ? $table_stat->itemCget($r, $c, -text) : "";
1 2
$satz2 = $table_stat->itemCget($r, $c, -text); defined $satz2 or $satz2 = '';
$satz2 = $table_stat->itemCget($r, $c, -text) // '';