Re: Perl Help: Array Manipulation
@array1[0] = 1; @array1[1] = 1; @array1[2] = 1; This works well. - Original Message - From: u235sentinel To: Duong Nguyen ; [EMAIL PROTECTED] Sent: Thursday, December 25, 2003 2:40 AM Subject: Re: Perl Help: Array Manipul
Perl Help: Array Manipulation
Hello everyone, Sorry for the spam, I am new to Perl and am having a hard time manipulating arrays. Below is the sample code that I am working on: @array1[0..5] = 1; @total[0] = 0; for($i=0; $i<4; $i++) { if($i == 0) { @total[$i] = @array1[$i]; print @total[$i];