[Omaha.pm] Fwd: ref to a ref? circular refs?

Jay Hannah jay at jays.net
Fri Feb 23 01:14:09 PST 2007


On Feb 22, 2007, at 6:13 AM, Daniel Linder wrote:
> Oh sure, this happens *ALL* the time in the Government::Accountability
> module.  You'd be surprised how many times the entire function of
> variables is just to point back to another module.

I would think that most modules would have critical work to do...

sub do_x {
    my ($self) = @_;
    $self->spin(@_);
    $self->use_for_political_gain(@_);
    $self->fundraise_by_exploiting_x(@_);
    $self->congratulate;
    $self->delegate_x(@_);
    $self->contradict;
    $self->golf;
    return "vote for $self!";
}

With a pure reference to a reference valuable opportunities would be  
missed. :)

j




More information about the Omaha-pm mailing list