Help for this page

Select Code to Download


  1. or download this
    my @MessageLines = ( 'Message Line 1', 'Message Line 2', 
        'Message Line 3',
    ...
        my $CursorCol = length $1;
        print "\$CursorCol\[$CursorCol\]\n";
    }
    
  2. or download this
    my $CursorCol = grep { /\S/ .. undef }
                    reverse
                    split //, $MessageLines[-1];