in reply to
Finding an element of an array
That's one array element, so this has nothing to do with arrays. You could use a regular expression. For example, the following code extracts all the digits that immediately follow the first ".":
my ($abc) = $array[0] =~ /\.(\d+)/;
[download]
Comment on
Re: Finding an element of an array
Download
Code
In Section
Seekers of Perl Wisdom