Help for this page

Select Code to Download


  1. or download this
    my $context = $file->open_for_reading( {} );
    
    ...
    
    # this should fail
    my $context_derived = $file->open_for_reading( { 'join_longcalls' => 1
    + } );
    
  2. or download this
    package MyBaseClass;
    
    ...
        }
        return $context;
    }
    
  3. or download this
    package MyBaseClass;
    
    ...
            'join_longcalls' => 0,
        };
    }
    
  4. or download this
    sub method {
        my $this = shift;
    ...
        $this->do_something_which_can_be_overriden_in_subclasses();
        $this->do_some_cleanup;
    }