On Sunday, July 14, 2002, at 09:18 , chris wrote:
> I should have mentioned that the package does an import in main. what exactly do you mean by 'import in main'? this sounds way strange... could you provide us with illustrative code here. start with the simplest of code tricks #!/usr/bin/perl -w use strict; use OUR::MODULE; and then execute that - get the error - since there may well be one or more defect that this will help point out about how your module is constructed. > This will make it harder if not impossible to work around. challenging most likely - but as peter mentioned: > Anyway, there's always The Kludge: read the package file into a variable. > Use a regex to isolate the subroutine you want (extract_codeblock() in > Text::Balanced will come in handy). Eval it. Put a gun under your > pillow to defend against the next person who maintains this program. { personally I would recommend 'Guido Management Services' - since you should leave 'trouble shooting' to professionals. Always check for the union label and all of that... } [..] ciao drieux --- "we are not 'paid killers' - we are the technical services staff focusing on problem irradication in an ecologically sensitive approach, customer focused, and available at market rates." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]