Revision b459f8fe
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Layout/ActionBar.pm | ||
---|---|---|
while (my $type = shift(@actions)) {
|
||
if (blessed($type) && $type->isa('SL::Layout::ActionBar::Action')) {
|
||
push @parsed, $type;
|
||
continue;
|
||
next;
|
||
}
|
||
|
||
my $descriptor = $class_descriptors{lc $type} || croak("Unknown action type '${type}'");
|
Auch abrufbar als: Unified diff
ActionBar: nicht »continue«, sondern »next« für Short-Circuit einer Schleife