Rp C987342 wrote: > > In java, I would be careful in choosing a vector vs arraylist. > In c/..., arrays have fixed length. In perl, when I say > my @arr = <STDIN>; > I do not (or cannot?) specify the length of the array even when > I know it has only 15 elements.
TMTOWTDI my @arr = (<STDIN>)[0..14]; my @arr; @arr[0..14] = <STDIN>; my @arr; $arr[$_] = <STDIN> for 0..14; my @arr; push @arr, scalar <STDIN> for 1..15; etc., etc. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]