? my @windows = $_[0]->sorted_windows; ? my $titlewin = @windows > 1 ? $windows[1] : $windows[0]; <?= $titlewin->title ?>