rammohan has asked for the wisdom of the Perl Monks concerning the following question:
4601 000000000002950 000000600537060DB000000000000 +000 000000600537060DB + 46004375010000009000282959900028252890002825280253563562 V4120 20132 +352013235 1003NN 10 + 0
this is my array,how to find the how many arrays are present in my array
.Update
my@array = (4601 000000000002950 000000600537060DB000000000000000 000000600537060DB 46004375010000009000282959900028252890002825280253563562 V4120 20132352013235 1003NN 10 0); how to access each element using array index?.I tried like this print $r[0][0];.But it showing some error. error ->Can't use string ("4601") as an ARRAY ref while "strict refs" in use at work.pl line 6. how to resolve this error? Please let me know.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to find the how many elements are present in an array
by kcott (Archbishop) on Jan 18, 2014 at 07:03 UTC | |
| |
|
Re: how to access each element in an array?
by Laurent_R (Canon) on Jan 18, 2014 at 20:08 UTC |