![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl -write values in a file to @array in perl | meghana | Shell Programming and Scripting | 27 | 06-07-2009 05:05 PM |
| A final question! Compare character with each array element | rorey_breaker | Shell Programming and Scripting | 1 | 09-28-2007 09:26 AM |
| array type has incomplete element type | jaganadh | High Level Programming | 1 | 07-24-2007 03:54 AM |
| Perl delete an element from array | ahtat99 | Shell Programming and Scripting | 6 | 01-18-2007 09:25 AM |
| accessing my first element of array | afadaghi | Shell Programming and Scripting | 4 | 09-29-2005 04:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Remove an element from an array in PERL
Hello guys,
I have the following question. Consider the following code in PERL Code:
for($xeAnumber=0; $xeAnumber<@xeAnumber; $xeAnumber++)
{
if(@xeAnumber[$xeAnumber]==@final_file[2])
{
@final_file[0]=@xeTimeStamp[$xeAnumber];
}
Thank you. Last edited by Yogesh Sawant; 06-04-2008 at 06:58 AM.. Reason: added code tags |
|
||||
|
just use
Code:
delete $arr[$index] |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| perl array, perl splice |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|