Am Montag, 18. April 2005 13.38 schrieb John Doe: [...] > perl -le' > use strict; use warnings; > my @a=(); > my @b=(0); > my @c=(0,1); > print $#a, " / ", $#b, " / ", "\n";
sorry, this should of course be print $#a, " / ", $#b, " / ", $#c, "\n"; (I ran it with the arrays () and (0,1) and inserted the (0) case afterwards) > ' > # this prints: > > -1 / 0 / 1 [...] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>