T.S.Ravi Shankar wrote:
> Hi all :
>
> I have few arrays with names starting with "xyz_". After the initial
> definitions I want to change values of a particular index of all arrays
> whose names start with "xyz_". It would be cumbersome for me to do
> something like :
>
> $xyz_blahblah[$index
the eseast way is having all the arrays in a hash.
map{$hash{$_}->[$index]="" if /^xyz/}(keys(%hash));
-Original Message-
From: T.S.Ravi Shankar [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 8:51 AM
To: [EMAIL PROTECTED]
Cc: Ravi
Subject: get all the arra
Hi all :
I have few arrays with names starting with "xyz_". After the initial
definitions I want to change values of a particular index of all arrays
whose names start with "xyz_". It would be cumbersome for me to do
something like :
$xyz_blahblah[$index] = "ldfhdlf";
$xyz_blooblooh[$index] = "