perlquestion david2008 Hi, <p> How do i change a function of perl in runtime?<br> I need it for testing issues.<br> I have a class A with function x.<br> This function x calls function y.<br> I want to check the behavior when y crashes. <br> So i want to change y with the function sub {die "aaa"}, make the test and then change it back.<br> </p> Thanks,