Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

How to best pass on the context / wantarray?

by Corion (Pope)
on Mar 26, 2006 at 17:58 UTC ( #539299=perlquestion: print w/ replies, xml ) Need Help??

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';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://539299]
Approved by GrandFather
Front-paged by diotalevi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-08-22 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (158 votes), past polls