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

    G'day rammohan,

    The title has "how many elements are present in an array" and the text has "how many arrays are present in my array".

    You do not show any arrays!

    As already pointed out to you on multiple occasions (in both SoPW and the CB), please read perlintro. Amongst other basic information, this will show you how to construct an array and determine the number of elements. It also provides links to further, relevant material.

    -- Ken

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: how to access each element in an array?
by Laurent_R (Canon) on Jan 18, 2014 at 20:08 UTC

    Hi rammohan,

    you have asked many questions in the last few days and have been pointed several times to good tutorials to help you learning Perl, but your new questions seem to show that you have not yet made the effort to read, understand and assimilate these tutorials. All of your recent questions show that you haven't grabbed the very basics of Perl, and you would have grabbed those if you had taken the pain to read seriously the tutorials that have been proposed to you. Please make the effort to read those. You should probably start with the perlintro document pointed out above by Ken.