in reply to Re^2: not able to get last index of array
in thread not able to get last index of array

When you [interpolate] an array inside of double quotes it adds ... the output field separator, "$,", ...

Array interpolation adds the list separator  $" between elements. See perlvar.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^4: not able to get last index of array
by Lotus1 (Vicar) on Jun 04, 2016 at 16:09 UTC

    Thanks AnomalousMonk

    If I had read more closely the node I linked to it explains the difference between $, and $" . I just knew there was a variable involved and grabbed the first one I saw.