Help for this page

Select Code to Download


  1. or download this
    $cursor->move_right(3); # move cursor three chars to the right
    $cursor->move_down(); # move cursor one line downwards
    ...
    # position one char to the left of the cursor
    
    my $start = $cursor->start_of_document();
    
  2. or download this
    sub frobnicate_position {
        my ($self) = @_;
    ...
    
        return $obj
    };
    
  3. or download this
    sub positional_mutator(&;$) {
        my ($worker,$name) = @_;
    ...
      ... calculate new position here
    }, 'frobnicate_position';