SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 5:54 PM
To: 'Arnold, Craig'; '[EMAIL PROTECTED]';
[EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: RE: [Perl-unix-users] Help on array
Thanx to Arnold, Dave and Wilson for all your help. Your inputs were reall
Thanx to Arnold, Dave and Wilson for all your help. Your inputs were really
great. All the suggestions really worked well.
One final question
when I had used the command
$#array2 = -1 ;
perl supposed to truncate all the elements in the array to nothing. But it
is not happening. It is still sto
ting @ar2 results in:
123 abc,def,ghi,lmn
-Original Message-
From: AITHA, BHEEMSEN (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 7:58 PM
To: 'Arnold, Craig'; '[EMAIL PROTECTED]'
Subject: [Perl-unix-users] Help on Array
Hi list,
I would
AITHA, BHEEMSEN (SBCSI) wrote:
> Hi list,
>
> I would like to create an array in the following format:
>
>
> 123 abc,xyz,pqr
> 234 xyz
> 456 wer,tre
> ---
> ---
>
> I want to use a command like the following
>
> push @first_array,from second_array>;
>
> where the_number = values i
Hi list,
I would like to create an array in the following format:
123 abc,xyz,pqr
234 xyz
456 wer,tre
---
---
I want to use a command like the following
push @first_array, ;
where the_number = values in 1st column coming from a variable in a loop.
The values in second column ar