Hallo!
if ($#Liste >= 12) { pop(@Liste);
Ahja, eine if-Schleife? ;)
while ($#Liste >= 12) { pop @Liste }
sollte da wohl besser funktionieren
Oder du machst es per Slice:
@Liste = @Liste[0..11];
Grüße, Skrilax
--
Democracy is a device which ensures that we shall be governed no better than we deserve.
(G. B. Shaw)
Democracy is a device which ensures that we shall be governed no better than we deserve.
(G. B. Shaw)