Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: (Expert) Splicing a slice

by ikegami (Patriarch)
on Sep 28, 2005 at 15:35 UTC ( [id://495801]=note: print w/replies, xml ) Need Help??


in reply to (Expert) Splicing a slice

What about:

sub foo { my $self = shift; # What would be in the slice. my $extra = $extra{$self}; # The hidden stuff. ... } DESTROY { delete($extra{$self}); }

No magic, so it's reliable.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://495801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found