Hi all, I don't know if the question that I am going the ask fits the beginner level, but I am certainly a beginner in perl.
Is it possible for a module to refer to its calling script? For example, if I create a module called MyModule.pm, and use it in a script MyScript.pl by saying "use MyModule;", is it possible to refer to the calling script (MyScript.pl in this case) and get some information about it during the process of writing the module (MyModule.pm in this case)? This way, I want to make the behaviour of the module flexible based on where it is called. If I'm completely nuts and there's no way this can be done, is there anything else in perl which can help me acheive this sort of "dynamic behaviour manipulation"? Thank you. Vishal ---------------------------------------- This mail sent through www.mywaterloo.ca -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>