Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: inside-out objects using arrays?

by rvosa (Curate)
on Sep 18, 2005 at 18:11 UTC ( [id://493040]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Outside::In;
    use strict;
    ...
        'old' => sub { $oldnode1->get_parent },
        'new' => sub { $newnode1->get_parent }
    });
    
  2. or download this
            Rate  old  new
    old 477555/s   -- -34%
    new 723066/s  51%   --
    
  3. or download this
    sub get_parent {
        return $_[0]->{'PARENT'};
    }
    
  4. or download this
    sub get_parent {
        return $parent[${$_[0]}];
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-24 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found