|
| ||||||||||
| Tags: array manipulation, manipulate perl array, perl, perl array, perl array manipulation |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to Manipulate Array in Perl?
I have one question to ask you about the Perl language. I am getting more difficulties while understanding the Array in Perl. I am not getting how to Manipulate Array in Perl. I have referred different book for this concept without any luck. If anybody of you has the sound knowledge about the array manipulation in Perl then please share your knowledge with me. Your help would appreciable. |
|
#2
| ||||
| ||||
| Re: How to Manipulate Array in Perl?
In 'Perl' the array manipulation is achieved in very different ways than other languages. See below it's syntax Quote:
Quote:
|
|
#3
| ||||
| ||||
| Re: How to Manipulate Array in Perl?
Hi friend, I suggest you to refer following example which will depicts how to Manipulate Array in Perl: Quote:
|
|
#4
| ||||
| ||||
| Re: How to Manipulate Array in Perl?
Hi, Perl programming language is basically designed for to manipulate and read text data. It Perl it is very easy to manipulate the array data because the interpreter of Perl the array data which is based onto contextual data. In Perl the manipulation techniques of array is limited to the elements counting of Perl array or key-value pairs iteration. |
|
#5
| ||||
| ||||
| Re: How to Manipulate Array in Perl?
In Perl is very simple to build an array of arrays sometime it is referred as list of lists. Suppose you want to declare the array named as @AOP, and which is of [3][2] size. Then you need to implement following code code for this array declaration. Quote:
|
|
#6
| ||||
| ||||
| Re: How to Manipulate Array in Perl?
Hello friend, To print the some part of the array in Perl, for this we need to use the subscripting concept of Perl. You can use the pointer arrow for de-referencing the array. suppose you have to print some part of the @AOO array in Perl language, then you need to use the below code: Quote:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to Manipulate Array in Perl?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to manipulate an ISO images | Zeppelin | Operating Systems | 4 | 31-12-2010 12:44 AM |
| How to manipulate text in Authorware | Lawford | Windows Software | 5 | 16-03-2010 02:21 AM |
| How to Manipulate DOM of Applet's Web Page? | shivendra | Software Development | 5 | 18-02-2010 12:53 AM |
| How to manipulate JavaScript text? | Juaquine | Software Development | 4 | 11-02-2010 04:46 PM |
| Manipulate jQuery with PHP | Zecho | Software Development | 5 | 16-06-2009 02:14 AM |