in reply to changing source code in run time

Yes. There was an interesting thread about this subject quite recently: Adding code to a Perl program without stopping it

How to get code of the calling function or object may also be worth a read, depending on your needs.

HTH,

planetscape