Help for this page

Select Code to Download


  1. or download this
    sub foo 
    {
    ...
        $self->{foo} = shift if @_;
        $self->{foo};
    }
    
  2. or download this
    foreach my $field (qw/ foo bar baz /) {
        no strict 'refs';
    ...
            $self->{$field};
        };
    }