in reply to Re: A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
in thread A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.

The code can also be simplified a bit like this too:
$MessageLines[-1] =~ m/^.*\S/sg; my $CursorCol = pos $MessageLines[-1];
  • Comment on Re^2: A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
  • Download Code