Help for this page

Select Code to Download


  1. or download this
      my $ret = $obj->do_something($with, $these, $args);
    
  2. or download this
    package Widget;
    
    ...
        tie my %h, __PACKAGE__, $self;
        \%h;
    };
    
  3. or download this
    my $widg = Widget->new;
    
    print "$widg->{name} is the same as " . $widg->name;
    
  4. or download this
    sub TIEHASH {
        my ($pkg, $object) = @_;
    ...
        my ($self, $key) = @_;
        $self->$key;
    }