I don’t think that works because "delete" doesn’t fill the gap if you
remove it from the middle, but I'm really not sure.  

I tried to use "delete" too, but it is returning the address, and not
the actual content when I tried to do something like this:

Array[$x][$y] = {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.perldoc.com/perl5.8.0/pod/func/delete.html

delete $array[0];#should delete the first row for example

José.


-----Original Message-----
From: Sitha Nhok [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 25, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: removing a row in a two-dimensional array


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 row.  Any ideas?  Thanks in advance.


~Sitha


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited
to, total or partial reproduction, communication or distribution in any
form) by other persons than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender
either by telephone or by e-mail and delete the material from any
computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see
our website at http://www.proximus.be or refer to any Proximus agent.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to