--- Sitha Nhok <[EMAIL PROTECTED]> wrote:
[snip]
> stored into a 2-D array. Then I want to eliminate duplicates in a
> column or multiple columns. I came from a C/C++ background, so the
only
> method I am really familiar with is traversing thru the column
comparing
> one e
Hello:
If I have a text file that was in the following form:
Header1 Header2 Header3 etc
Info1Info2Info3 etc
Info1b Info2b Info3b etc
Each element is delimited by a tab. Lets say that the information is
stored into a 2-D array. Then I want to eliminate duplicates in a
column or
Hi, if I have a multidimensional array like :
@AoA = (
["ABC", "BCD"],
["CDE", "DEF"],
["EFG", "FGH"],
);
then do:
@var = splice @AoA, 2, 1; # to delete the last row
print @var; #print what was returned from splice
Hi,
Is there anyway to match a string in a 2-dimensional array only at one
index? For example, say I have this 2-d array:
@AoA = (
["ABC", "BCD"],
["CDE", "DEF"],
["EFG", "FGH"],
);
Then I wanted to see if "CD" exist, but only in co
] = {some list};
Delete $array[$x]; #some arbitrary row
~Sitha
-Original Message-
From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 10:34 AM
To: Sitha Nhok; [EMAIL PROTECTED]
Subject: RE: removing a row in a two-dimensional array
perldoc -f delete
http://www.
Hi,
I was wondering if someone could help me with a problem I am having.
I have a two dimensional array, but I would like to delete an entire
row. What is the most efficient way of doing that? I tried using
splice, but it only shrinks the number of cols and it doesn't get rid of
the entire r