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