Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: How to best pass on the context / wantarray? (know)

by tye (Sage)
on Mar 27, 2006 at 16:52 UTC ( #539482=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to best pass on the context / wantarray?
in thread How to best pass on the context / wantarray?

_get_self() doesn't need to have the same context as its caller, it just needs to know the context of its caller. So it is as simple as:

my $self= shift(@_)->_get_self( wantarray );

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539482]
help
Chatterbox?
[Corion]: Discipulus: I've looked for something but never found anything good
Corion looks at the SVG. If the different regions have IDs, then you can colorize the map by providing a CSS file with the colors.
[Corion]: Meh. IE crashes when displaying that SVG as saved from Firefox ...
LanX blame Canada!
[Discipulus]: to crash is not the default behaviour of IE? ;=)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-03-23 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.