in reply to
How to store the list of values to array from 2D array
That sort of structure is called an array of arrays in Perl, which is short for an array of references to array. Each element of
@b
is a reference. If you want the contents of the referenced array, you'll need to dereference the element of
@b
:
@x = @{$b[0]};
[download]
Comment on
Re: How to store the list of values to array from 2D array
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: How to store the list of values to array from 2D array
by
anbutechie
(Sexton)
on Mar 05, 2009 at 07:47 UTC
Super. Its working
Thank you
Anbarasu
[reply]
In Section
Seekers of Perl Wisdom