Sunday, July 14, 2002, 5:18:14 PM, chris wrote: > I should have mentioned that the package does an import in main. This > will make it harder if not impossible to work around.
> Using the sample provided >> use DTK::WebAccess; > This will cause the import to occur leading to compile errors. Am I > reading this correctly? Does doing a require work, so that the import isn't called? If it's just the import that causes the failure you should be able to require and then use whatever subroutines are in there by fully qualifying the package name. HTH, Daniel > Thank you for your time. > On Sun, 14 Jul 2002 08:03:27 -0700, [EMAIL PROTECTED] (Drieux) wrote: >>yes and no.... >> >>first the 'no side' - since you may need to 'get the code up >>and running now' = you can Work Around the problem by fully >>qualifying the path to the function - as it were.... >> >>I have used the trick of >> >> use DTK::WebAccess; >> ... >> DTK::WebAccess::dtk_openSocket_to_webPage( $host, $port, $fd); >> >>and >> >> use DTK::WebAccess qw/dtk_openSocket_to_webPage/; >> ... >> dtk_openSocket_to_webPage( $host, $port, $fd); >> >>in places - depending upon whether I am more or less angst >>ridden about remembering WHERE a 'function' came from.... > <snip> -- Best Regards, Daniel [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]