in reply to Re^2: Trying to capture a value from a list of values
in thread Trying to capture a value from a list of values

Why have you completely ignored Ed's advice?

To get the first value of your array:
my $first_value = $mylnxsrvrs[0];

Replies are listed 'Best First'.
Re^4: Trying to capture a value from a list of values
by parthodas (Acolyte) on Sep 02, 2015 at 12:05 UTC
    I did not ignored Ed's advise. But could not apply it. Though using my $first_value = $mylnxsrvrs[0]; solved my issue. Thanks a lot.