Help for this page

Select Code to Download


  1. or download this
    
    my $r = { subref => sub { return 2 * $_[0] } };
    ...
        
        return $$r{subref};
    }
    
  2. or download this
    
    # This will perform the pre-action before executing
    ...
    
        print $tied, "\n";
    }