Morjesta vaan!
How can I delete a value from the middle of an array so that the array shortens by one?
Like this
(1, 2, 3, 4, 5, 6, 7) ----> (1, 2, 3, 5, 6, 7)
Pauli
my @t = (1, 2, 3, 4, 5, 6, 7); splice @t, 3, 1;
print join ', ', @t;
# ----> (1, 2, 3, 5, 6, 7)
-- mike higgins _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs